I have only just started using zenoss (2.2.3 on RHEL5), at the moment I am
doing some eval and testing. I have added a couple of linux machines to the
inventory, and have set up ssh user name and password in zproperties for both
devices, as well as set zSnmpMonitorIgnore to true. I am using zenoss.cmd
plugins to monitor both machines, with zenoss.cmd.uname first, and
zenoss.cmd.linux.process near the bottom. I have set up OS process monitoring
for 'httpd' and 'xinetd' for testing purposes. The problem is that on only one
of the hosts, both processes are reported as not running, however when i log
into the box I can see that they are. I have tried running zenmodler from the
command prompt with -v10 and I can even see the processes in the output :
Code:
DEBUG:zen.SshClient:command ps axho comm,args data: 'init init [3]
\nmigration/0 [migration/0]\nksoftirqd/0
[ksoftirqd/0]\nwatchdog/0 [watchdog/0]\nmigration/1
[migration/1]\nksoftirqd/1 [ksoftirqd/1]\nwatchdog/1
[watchdog/1]\nevents/0 [events/0]\nevents/1 [events/1]\nkhelper
[khelper]\nkthread [kthread]\nkblockd/0
[kblockd/0]\nkblockd/1 [kblockd/1]\nkacpid [kacpid]\ncqueue/0
[cqueue/0]\ncqueue/1 [cqueue/1]\nksuspend_usbd
[ksuspend_usbd]\nkhubd [khubd]\nkseriod [kseriod]\nkswapd0
[kswapd0]\naio/0 [aio/0]\naio/1 [aio/1]\nkpsmoused
[kpsmoused]\nata/0 [ata/0]\nata/1 [ata/1]\nata_aux
[ata_aux]\nscsi_eh_0 [scsi_eh_0]\nscsi_eh_1 [scsi_eh_1]\nscsi_eh_2
[scsi_eh_2]\nscsi_eh_3 [scsi_eh_3]\nkmirrord
[kmirrord]\nksnapd [ksnapd]\nmd1_
raid1 [md1_raid1]\nmd0_raid1 [md0_raid1]\nkjournald
[kjournald]\nkauditd [kauditd]\nudevd /sbin/udevd
-d\nkjournald [kjournald]\ncpuspeed cpuspeed -d -p 20 80
-n\ncpuspeed cpuspeed -d -p 20 80 -n\nauditd auditd\nsyslogd
syslogd -m 0 -r\nklogd klogd -x\nmdadm mdadm --monitor
--scan -f --pid-file=/var/run/mdadm/mdadm.pid\ndbus-daemon dbus-daemon
--system\nhidd /usr/bin/hidd --server\nautomount
automount\nacpid /usr/sbin/acpid\nsshd
/usr/sbin/sshd\nxinetd xinetd -stayalive -pidfile
/var/run/xinetd.pid\nntpd ntpd -u ntp:ntp -p /var/run/ntpd.pid
-g\nmysqld_safe /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf
--pid-file=/var/run/mysqld/mysqld.pid --log-error=/var/log/mysqld.log\nmysqld
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/my
sqld/mysqld.pid --skip-external-locking
--socket=/var/lib/mysql/mysql.sock\ncrond crond\nsquid
squid -D\nsquid (squid) -D\nunlinkd (unlinkd)\natd
/usr/sbin/atd\nyum-updatesd /usr/bin/python /usr/sbin/yum-updatesd\nhald
hald\nhald-runner hald-runner\nhald-addon-acpi hald-addon-acpi:
listening on acpid socket /var/run/acpid.socket\nhald-addon-cpuf
/usr/libexec/hald-addon-cpufreq\nhald-addon-keyb hald-addon-keyboard: listening
on /dev/input/event3\nhald-addon-keyb hald-addon-keyboard: listening on
/dev/input/event2\nhald-addon-stor hald-addon-storage: polling /dev/hda\nsmartd
/usr/sbin/smartd -q never\nmingetty /sbin/mingetty
tty2\nmingetty /sbin/mingetty tty3\nmingetty /sbin/mingetty
tty4\nmingetty /sbin/mingetty tty5\nmingetty /sbin/mingetty
tty6\nmingetty /sbin/mingetty tty1\nsshd sshd: zenoss
[priv]\nsshd sshd: [EMAIL PROTECTED]
pop3-login\npop3-login pop3-login\npop3-login pop3-login\nsshd
sshd: zenoss [priv]\nsshd sshd: [EMAIL PROTECTED]
ps axho comm,args\npdflush [pdflush]\nhttpd
/usr/sbin/httpd\nhttpd /usr/sbin/httpd\nhttpd
/usr/sbin/httpd\nhttpd /usr/sbin/httpd\nhttpd
/usr/sbin/httpd\nhttpd /usr/sbin/httpd\nhttpd
/usr/sbin/httpd\nhttpd /usr/sbin/httpd\nsnmpd
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a\npdflush
[pdflush]\nhald-addon-keyb hald-addon-keyboard: listening on
/dev/input/event4\ndhcpd /usr/sbin/dhcpd\nsshd sshd:
[EMAIL PROTECTED]/2 \nbash -bash\nhttpd
/usr/sbin/httpd\nslapd /usr/sbin/slapd -h ldap:/// -u ldap\ndovecot
/usr/sbin/dovecot\ndovecot-auth dovecot-auth\nimap-login
imap-login\nimap-login imap-login\nimap-login imap-login\nexim
/usr/
sbin/exim -bd -q1h\n'
The regex I am using for both processes is simply the process name. The thing
that does not make sense is that the other host is not reporting an error but
is configured to use the same check....
Any ideas as to whats going on?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=25419#25419
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users