[Xymon] Mapping Values to Columns

Brandon Dale BDale at kitchengroup.com.au
Tue May 12 08:38:08 CEST 2015


Hi Greg,

I'm not sure about your first question, but you are probably better off creating your custom test and sending it to a new column (memory2) for example.

For your second question,  I know in windows after a reboot my uptime goes yellow for 15 minutes because I have this at the bottom of my analysis.cfg file:

UP 15m

The cpu column doesn't change for me after a reboot on a windows machine. This is in 4.3.19 though, maybe it work's different in older versions? I can't really test now but I think on linux the cpu and uptime tests are joined with the option to split them into separate tests in the newer versions.
 
Regards, 


Brandon



-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory J. DeCecco
Sent: Saturday, 9 May 2015 2:23 AM
To: xymon at xymon.com
Subject: [Xymon] Mapping Values to Columns

I have been looking at the relationships between values returned by client scripts and which web page column reports the status.  Let me walk you through some of the data before I pose my questions.

This is some output from a Windows machine running the PowerShell client...

[memory]
memory    Total    Used
physical: 8073 5679
virtual: 12000 952
page: 20071 6710 

Out of this data are extracted the values "MEMACT", "MEMPHYS", and "MEMSWAP".  They are different measurements, but all affect the color of the column "memory".  How they affect the memory column is well documented in the Man page for analysis.cfg, but what maps "MEMACT", "MEMPHYS", and "MEMSWAP" to the column "memory"?  What if I wanted to add an additional custom memory-related test and have it also affect the color of the "memory"
column?

Furthermore, when a server is rebooted the "cpu" column goes yellow, but the column titled "uptime" always stays green.  How do I change this?

[uptime]
sec: 1568818
18 days 3 hours 46 minutes 57 seconds
Bootup: 20150420074804.610798-240
 

I've looked into custom server-side modules and that looks like a step in the right direction, but won't get me 100% of the way there.  Can someone send me down the correct path?

Thank you,

Greg D.

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon


More information about the Xymon mailing list