[Xymon] analysis.cfg - RRD based status overrides for SPLITNCV graphs
Fabian Wendlandt
fabian.wendlandt at innowerk-it.de
Thu May 27 11:03:07 CEST 2021
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
More information about the Xymon
mailing list