[Xymon] Missing client memory test!?

Tim McCloskey tm at freedom.com
Fri Nov 6 22:56:27 CET 2015


>  However, the “memory” test status is simply missing! For example, on the server:
> ...
> status hostname.memUse GREEN
> ...

It does not look to be missing it looks to be misconfigured/munged somewhere.  Is the field in the mem|memory display green with that single '-' ?  

Do you have in the equiv of clients.cfg :
MEMPHYS 100 101
MEMSWAP 87 90
MEMACT  90 97 
values may not match, but do you have these set anywhere in your server config?

Just curious, this may not be relevant but is the client running on the Global Zone, or on a Child Zone?   


Unrelated, but if it ever hits you there is likely somthing on the board you can search for:

The only issue I ever had with the memory test on Solaris 10 (x86) related to really odd reports similar to the following.
Memory              Used       Total  Percentage
red Physical     4294966985M      30720M 4294967295%
green Swap                173M      29153M          0%


Tim



________________________________________
From: Xymon [xymon-bounces at xymon.com] on behalf of Mills,David (HHSC Contractor) [David.Mills at hhsc.state.tx.us]
Sent: Friday, November 06, 2015 12:36 PM
To: xymon at xymon.com
Subject: [Xymon] Missing client memory test!?

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




More information about the Xymon mailing list