Hey, all...
Have a puzzle to solve: we have a host (Solaris 10) running our tried-and-true version of Xymon (4.3.2) which is functioning just fine except for one test: the standard "memory" test.
It has worked fine in the past (I'm pretty sure!) but at some point we noticed Xymon isn't posting the "status" results for this test on the web page (it's a '-').
Debugging I've done so far:
On the client side, found the output file corresponding to "$MSGTMPFILE" / "$MSGFILE" used in the "xymonclient.sh" script. It _does_ contain valid data for the "[memory]" stanza:
[memory]
0 8 0 39549560 48447184 1039 3853 3934 14 14 0 0 0 0 0 0 20276 71323 29065 57 16 28
From this client, manually ran the command to post the data to the server:
$ ~xymon/client/bin/xymon <server IP> "@" < msg.hostname.txt log:/var/adm/messages:10240
ignore %nxge0|nxge1|nxge4|nxge5|nxge0|107833
On the server, ran:
$ ~xymon/server/bin/xymon 127.0.0.1 "xymondboard host=hostname " hostname|trends|green||0|0|0|0|0||0| hostname|info|green||0|0|0|0|0||0| hostname|files|clear||1434028386|1446841258|1446843058|0|0|10.235.130.17|-1|clear Files status at Fri Nov 6 14:20:43 CST 2015 hostname|msgs|green||1434028386|1446841258|1446843058|0|0|10.235.130.17|-1|green System logs at Fri Nov 6 14:20:43 CST 2015 hostname|ports|red||1446840042|1446841258|1446843058|0|0|10.235.130.17|27225|red Fri Nov 6 14:20:43 CST 2015 - Ports NOT ok ...
(The timestamps are current, matching the most recent version of the client file sent)
However, the "memory" test status is simply missing! For example, on the server:
$ ~xymon/server/bin/xymon 127.0.0.1 "xymondboard host=hostname fields=msg" | perl -pe 's!\\n!\n!gm' > out $ grep '^status' out status hostname.files clear Files status at Fri Nov 6 14:25:46 CST 2015 status hostname.msgs green System logs at Fri Nov 6 14:25:46 CST 2015 status/group:unix-sadm hostname.ports red Fri Nov 6 14:25:46 CST 2015 - Ports NOT ok status/group:unix-sadm hostname.procs red Fri Nov 6 14:25:46 CST 2015 - Processes NOT ok status hostname.disk green Fri Nov 6 14:25:46 CST 2015 - Filesystems OK status hostname.cpu green Fri Nov 6 14:25:46 CST 2015 up: 249 days, 10 users, 956 procs, load=21.63 status hostname.prtdiag green Fri Nov 6 14:25:48 CST 2015 status hostname.raid green Fri Nov 6 14:25:46 CST 2015 Veritas Volume Manager OK status hostname.meta green Fri Nov 6 14:25:47 CST 2015 status hostname.zones green Fri Nov 6 14:25:46 CST 2015 status+30 hostname.conn green <!-- [flags:OrdAstLe] --> Fri Nov 6 14:23:37 2015 conn ok status hostname.memUse GREEN status hostname.iostat GREEN status hostname.sar green Fri Nov 6 14:25:50 CST 2015 status+30 hostname.ssh green <!-- [flags:OrdastLe] --> Fri Nov 6 14:19:58 2015 ssh ok status+30 hostname.ntp green <!-- [flags:OrdastLe] --> Fri Nov 6 14:19:58 2015 ntp ok
Note: no "memory" status line!
Help?
Thanks!
david
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ David Mills Systems Administrator Northrop Grumman (512) 873-6665