[Xymon] xymon, xymon-rclient and md5sum checks

oliver ohemming at gmail.com
Wed Jun 3 16:56:34 CEST 2015


This is a brand new installation of Xymon (4.3.21) and I'm trying to
use xymon-rclient (0.6) to get some readings on a box where we're not
allowed to run the Xymon client.

My hosts.cfg has this line:
10.6.16.24   server2       # conn "RCLIENT:cmd(ssh -T
root@%{H}),ostype(sunos),env(MD5=/usr/local/bin/md5sum)"


My analysis.cfg has:
HOST=%^server
        FILE /etc/.sudoers.local red md5=3478c3977fd53a9de552bf1545595b31
        PORT "LOCAL=%(.80|.443)$" STATE=LISTEN col=yellow TEXT=HTTP
        PROC xntpd col=red


My client-local.cfg (on the Xymon server) has:
[server2]
        file:/etc/.sudoers.local:md5


All the tests are working fine (cpu/disk/procs/ports etc) but the md5
on /etc/.sudoers.local is failing.  The Xymon status says:
/etc/.sudoers.local
File has MD5 hash (No MD5 data)  - should be 3478c3977fd53a9de552bf1545595b31

So it looks like it's not being read/checksummed.


Here's some CLI output to show the paths/os/results etc
[xymon at xymon]$ ssh root at server2 "/usr/local/bin/md5sum
/etc/.sudoers.local; uname -a"
3478c3977fd53a9de552bf1545595b31  /etc/.sudoers.local
SunOS server2.sjo1 5.10 Generic_142910-17 i86pc i386 i86pc


In the clientlog, it says "[file:/etc/.sudoers.local]" with no extra information

I'm doing a similar test on a the Xymon server and in that clientlog, I see:

[file:/app/scripts/check_sudoers/golden/as/etcdotsudoersdotlocal]
type:100000 (file)
mode:444 (-r--r--r--)
linkcount:1
owner:10002 (t3user)
group:3284 (t3group)
size:102
clock:1433342702 (2015/06/03-14:45:02)
atime:1433275649 (2015/06/02-20:07:29)
ctime:1432929163 (2015/05/29-19:52:43)
mtime:1432054326 (2015/05/19-16:52:06)
md5:3478c3977fd53a9de552bf1545595b31


Questions:
1) Should this be working or is it a limitation of xymon-rclient?
2) What, if anything, is wrong with my config?

Thanks for reading



More information about the Xymon mailing list