I'm currently evaluating Zenoss for use in an enterprise environment and appear 
to be having a problem monitoring OS processes - they are always shown as "up" 
even if I kill the process. Here's the setup:

Zenoss Server:
  # cat /etc/issue |head -1
  CentOS release 5 (Final)
  # uname -r
  2.6.18-53.1.21.el5
  # rpm -qa |egrep '^python-[0-9]|^net-snmp-[0-9]|^zenoss-[0-9]'
  net-snmp-5.3.1-19.el5_1.4
  zenoss-2.2.0-0.el5
  python-2.4.3-19.el5

Remote server being monitored:
  # cat /etc/issue |head -1
  Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
  # uname -r
  2.6.9-34.ELsmp
  # rpm -qa |egrep 'net-snmp-[0-9]'
  net-snmp-5.1.2-11.el4_6.11.2


Steps to reproduce (with a fresh install and following section 11.3.1 of the 
admin guide):

 - Create a new process to monitor in Zenoss (Processes -> Add Process -> enter 
regex [e.g: procXYZ] -> OK).

 - Check that the server is running 1 instance of procXYZ with ps. Also check 
the you can grep for procXYZ in the snmpwalk from the monitoring server.

 - Add the device running procXYZ (Add device -> Set device name to remote 
hostname, Set device class to /server/linux) -> Add Device

 - View the OS Processes of the new device to make sure that procXYZ was found 
through snmp and is listed under OS Processes. (Device list -> hostname -> OS). 
 
 - Kill procXYZ on the remote server (and wait...).

 - grep for procXYZ in ps on the remote host and snmpwalk from the zenoss host 
to confirm it's not running. 

 -! Even though the process isn't running or seen through snmp, Zenoss still 
shows the state as "up" with a green light.


You can also lock the process from deletion, remodel the device and the process 
is still "up" - however, if you unlock the process again and remodel the device 
the process will disappear from the OS Processes list.

Haydn.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20699#20699

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to