Xymon Mailing List Archive search

problem with hobbit-clients.cfg - SOLVED

1 message in this thread

list Torsten Richter · Tue, 19 May 2009 12:31:25 +0200 ·
Hi all,

the problem is solved.
It appeared because I had 2 XYmon servers with different hobbit-clients.cfg.
On the first one the configuration was right but on the second one the section with the hosts was missing.
So the first server reported green for the procs and short after that the second one reported clear.
So after adjusting the hobbit-clients.cfg on the second server the problem disappeared.

Regards
Torsten

Hi Johann,

I tried as you suggested but it did not work.
I don't have a problem with the graphing but with the display of the 
processes.

Cheers
Torsten

-----Original Message-----
From: Torsten Richter [mailto:user-c862b499d9fa@xymon.invalid]
Sent: Montag, 18. Mai 2009 15:35
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] problem with hobbit-clients.cfg

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

Hello,

try putting the TRACK= into quotes.
I had the same issue and with quoting it works at my site.

Regards
Johann