nagiosgrapher parsing perfdata
Karsten Müller
kmue at engine.de
Thu Feb 9 12:39:47 CET 2006
Hi,
I am having problems to parse the output of the command
'check_snmp_load -H XXX -T cisco -C XXX -w 10,10,10 -c 10,10,10 -f'
with nagiosgrapher.
The output reads 'CPU : 9 11 10 : 11 > 10 : CRITICAL | load_5_sec=9%;
10;10,load_1_min=11%;10;10,load_5_min=10%;10;10'
The nagiosgrapher logging seems to be truncated (?).
2006-02-09 12:05:40 PIPE: cisco CISCO-LOAD load_5_min=12%:70:90
2006-02-09 12:05:40 VALUES: [cisco][CISCO-LOAD]:No matching perfdata
values found...
Here is my config
define ngraph{
service_name CISCO-LOAD
graph_perf_regex load_5_min=([0-9]+)%
graph_value 5min
graph_units load
graph_legend 5min avg load
rrd_plottype AREA
rrd_color EACC00
}
Does somebody know how to parse the output?
bye,
Karsten
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list