[Xymon] analysis.cfg - RRD based status overrides for SPLITNCV graphs

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Thu May 27 15:46:12 CEST 2021


I spent a few days on it some time ago, I was never able to get it to work either.  


Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | ( 734-384-6403 |  |  ) 1-734-915-1444 | *Scot.Kreienkamp at la-z-boy.com
www.la-z-boy.com | facebook.com/lazboy | twitter.com/lazboy | youtube.com/lazboy

-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Fabian Wendlandt
Sent: Thursday, May 27, 2021 5:03 AM
To: xymon at xymon.com
Subject: [Xymon] analysis.cfg - RRD based status overrides for SPLITNCV graphs

ATTENTION:   This email was sent to La-Z-Boy from an external source.     Be vigilant when opening attachments or clicking links.

Hi,

we are using custom graphs created with the SPLITNCV method and would like to add RRD based status overrides in analysis.cfg.
According to the man page, this is possible with a 'DS' line.
Unfortunately, I can't get it working with graphs generated by SPLITNCV.
Has anyone else got this to work?

Here is my config:

# The status message of the appperf column looks like this:
\w3svc_w3wp(_total)\aktive anforderungen: 4.00000
\w3svc_w3wp(_total)\anforderungen/s: 40.05942

# xymonserver.cfg
TEST2RRD="..., appperf=ncv"
SPLITNCV_appperf="*:GAUGE"

# analysis.cfg
HOST=*
    DS appperf appperf,_w3svc_w3wp_total_aktive_anforderungen.rrd:lambda >5 COLOR=yellow TEXT="More than &U active requests (&V)"
    DS appperf appperf,_w3svc_w3wp_total_aktive_anforderungen.rrd:lambda >200 COLOR=red TEXT="M More than &U active requests (&V)"

# appperf,_w3svc_w3wp_total_aktive_anforderungen.rrd
# rrdtool info /xymon/rrd/APP01/appperf,_w3svc_w3wp_total_aktive_anforderungen.rrd
filename = "/xymon/rrd/APP01/appperf,_w3svc_w3wp_total_aktive_anforderungen.rrd"
rrd_version = "0003"
step = 60
last_update = 1622105777
header_size = 1208
ds[lambda].index = 0
ds[lambda].type = "GAUGE"
ds[lambda].minimal_heartbeat = 600
ds[lambda].min = NaN
ds[lambda].max = NaN
ds[lambda].last_ds = "6.00000"
ds[lambda].value = 1,0200000000e+02
ds[lambda].unknown_sec = 0
...


As you can see, ds[lambda].last_ds is greater than 5, but the status still remains green (the graph itself is working fine).
There's nothing helpful in the logs, too.
Is it not possible, to define RRD based overrides for SPLITNCV graphs?

Thank you and best regards,
Fabian Wendlandt


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


This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. 


More information about the Xymon mailing list