Zenoss & Process Monitoring

Tagged:

I haven't yet figured out how to run custom commands/checks against monitored devices, but I did find the nice way Zenoss watches processes. You can define any string or regex to watch for, and Zenoss will use SNMP to find it in the process list. After the next modeling cycle, it will let you set triggers on the process to tell you if/when it restarts.To setup, just click on Processes in the left hand menu. Create sub-folders for categorizing the processes. I created entries for Web, Veritas, cfengine, etc. Then from within the target folder (if applicable), just enter a process name into the text field. You can then edit the entry by clicking on the name, then the Edit tab. Modify the regex if necessary. For instance, to monitor the different dhcpd processes, I changed it to "dhcpd3?" to make the 3 optional. Since it's an open match, this also picks up VMware Server's vmnet-dhcpd processes. if that's not what you want, you can set the regex to "^dhcpd3?". Now they're being checked, but how to you view them? Easy! Just navigate to a device, then click the OS tab. You'll now see a Processes section below the Interfaces. From here you can tailor the process check to the specific device.

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <shell>, <c>, <drupal6>, <java>, <javascript>, <objc>, <perl>, <php>, <python>, <rails>, <ruby>, <sql>, <xmlcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.