[Xymon] proc tracking graph not working.
Root, Paul T
Paul.Root at CenturyLink.com
Thu Apr 4 18:17:48 CEST 2013
Ok, So it is ignoring the TRACK:
$ ~xymon/server/bin/xymoncmd xymond_client --dump-config |grep iadccmp1
2013-04-04 11:15:50 Using default environment file /usr/lib64/xymon/server/etc/xymonserver.cfg
2013-04-04 11:15:50 Unknown token 'TRACK=ssh daemon' ignored at line 529
2013-04-04 11:15:50 Unknown token 'TRACK=sshd' ignored at line 1001
LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log MATCH=%Error:.*ObjectServerB: Reader component has failed COLOR=yellow HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 508)
LOG /rendition/NA/server/log/jboss_wrapper.log MATCH=%OutOfMemory COLOR=red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 509)
LOG /rendition/NA/server/log/jboss_wrapper.log MATCH=%not able to connect to its database COLOR=red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 510)
PORT local=%([.:]443)$ state=LISTEN min=1 color=red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 TEXT=https (80) (line: 511)
PORT local=%([.:]8022)$ min=1 max=80 color=yellow TRACK=hpnassh HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 TEXT=HPNA SSH proxy (8022) (line: 513)
PROC "jre/bin/java -DTCMgmtEngine" 1 3 red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 515)
PROC "jre/bin/java -DTCMgmtEngine" 1 1 yellow HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 TEXT=Mgmt Engine - Yellow (line: 516)
PROC "jre/bin/java -DTCSyslog" 1 1 red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 517)
LOG /rendition/NA/server/log/jboss_wrapper.log MATCH=OutOfMemoryError COLOR=red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 518)
LOG /rendition/NA/server/log/jboss_wrapper.log MATCH=not able to connect to its database COLOR=red HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 519)
FILE /rendition/NA/jre/logging.rcx yellow mtime>600 HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 520)
FILE /var/log/cron yellow mtime<3600 HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 521)
DISK /opt/NASSoftware IGNORE HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 522)
LOAD 18.00 25.00 HOST=iadccmp1,iadccmt1,iadccmd1,iadccmp2,apaccmp1,apaccmp2 (line: 523)
FILE /usr/local/dat/naIpAddrs.txt yellow mtime<3630 HOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2 (line: 526)
PROC sshd 1 300 yellow HOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2 (line: 528)
PROC sshd 1 1000 red HOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2 TEXT=ssh daemon (sshd) (line: 529)
PROC sshd 1 70 yellow HOST=* EXHOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2 (line: 1004)
PROC sshd 1 100 red HOST=* EXHOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2 TEXT=ssh daemon (sshd) (line: 1005)
-----Original Message-----
From: cleaver at terabithia.org [mailto:cleaver at terabithia.org]
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
More information about the Xymon
mailing list