problem with hobbit-clients.cfg
Torsten Richter
bb4 at richter-it.net
Mon May 18 15:34:40 CEST 2009
Hi all,
I'm running XYmon 4.3.0-beta2 on Linux with server side configuration an I'm experiencing a problem with the process monitoring.
I've entered the following data into hobbit-clients.cfg on the server:
HOST=xdspmis1
PORT LOCAL=%[.:]21$ STATE=LISTEN COLOR=yellow "TEXT=FTP Daemon"
PORT LOCAL=%[.:]22$ STATE=LISTEN COLOR=yellow "TEXT=SSH listener"
PROC /usr/lib/ssh/sshd 1 3 red TRACK=ssh
HOST=xdspmis2
PORT LOCAL=%[.:]21$ STATE=LISTEN COLOR=yellow "TEXT=FTP Daemon"
PORT LOCAL=%[.:]22$ STATE=LISTEN COLOR=yellow "TEXT=SSH listener"
PROC /usr/lib/ssh/sshd 1 3 red TRACK=ssh
The ports monitoring is working fine but for procs I only get a clear icon.
The history of the test looks like this:
Mon May 18 11:24:16 2009 clear 0:01:19
Mon May 18 11:24:16 2009 green none
Mon May 18 11:19:14 2009 clear 0:05:02
Mon May 18 11:19:14 2009 green none
Mon May 18 11:14:12 2009 clear 0:05:02
Mon May 18 11:14:12 2009 green none
Mon May 18 11:09:09 2009 clear 0:05:03
Mon May 18 11:09:09 2009 green none
The data from the client is delivered to the server as cpu, disk, msgs, memory are displayed fine.
Oddly enough there is a graph for the ssh daemon which is graphed since I set up the monitoring.
For a third machine i have the following entries in hobbit-clients.cfg:
PROC "snmpdx" 0 0 yellow
PROC "snmpXdmid" 0 0 yellow
PROC "snmpd" 0 0 yellow
PROC /usr/local/sbin/sshd 1 3 red TRACK=ssh
PORT LOCAL=%[.:]21$ STATE=LISTEN COLOR=yellow "TEXT=FTP Daemon"
PORT LOCAL=%[.:]22$ STATE=LISTEN COLOR=yellow "TEXT=SSH listener"
The first 3 entries are displayed correctly with:
snmpdx (found 0, req. at most 0)
snmpXdmid (found 0, req. at most 0)
snmpd (found 0, req. at most 0)
But the sshd is not displayed although it is graphed :-/
Regards
Torsten
More information about the Xymon
mailing list