Xymon Mailing List Archive search

proc tracking graph not working.

list Paul Root
Thu, 4 Apr 2013 16:15:00 +0000
Message-Id: <user-7463c7640e69@xymon.invalid>

I know for a fact that TEXT requires the quotes around the whole thing, as shown on line 303 of analysis.cfg, comments:

#	Example: Check that at least 5 "ssh" connections are established, but
#     not more than 10; warn but do not error; graph the connection count:
#     PORT "LOCAL=%([.:]22)$" state=ESTABLISHED min=5 max=20 color=yellow TRACK=        ssh "TEXT=SSH logins"


And I have the quotes around other TRACK entries that are working fine. It would be bad from a consistency standpoint to have TEXT and TRACK be different.

I'll check the dump-config.

Thanks,
Paul.


-----Original Message-----
From: user-87556346d4af@xymon.invalid [mailto:user-87556346d4af@xymon.invalid] 
Sent: Thursday, April 04, 2013 11:09 AM
To: Root, Paul T
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] proc tracking graph not working.

Hi,
                So I have the following in my analisys.cfg (4.3.10):

HOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2
FILE /usr/local/dat/naIpAddrs.txt yellow MTIME<3630 PROC sshd 1 300 
yellow PROC sshd 1 1000 red "TEXT=ssh daemon (sshd)" "TRACK=ssh 
daemon"

HOST=* EXHOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2
PROC sshd 1 70 yellow
PROC sshd 1 100 red "TEXT=ssh daemon (sshd)"


                But I'm still not getting the graph tracking the 
number of connections.  Any ideas?

Paul.
I believe the quotes need to be around the content, not the key, for the TEXT and TRACK values... And IIRC (could be wrong) the TRACK needs to be a space-less id, since it ends up in the name of the rrd file.

Can you run "xymoncmd xymond_client --dump-config" and paste the output?
It should help identify the problem here...


Regards,

-jc