Perfdata/nagiosgraph hiccup frustration

Marlier, Ian ian.marlier at studentuniverse.com
Wed Jul 18 21:55:25 CEST 2007


Hey, all --

Strange little problem that I'm trying to figure out.

I've got nagios 2.5 up and running, installed from the RPMs in opensuse
10.2.  I've enabled the service-perfdata options, and am sending service
perfdata to a file.

I'm using nagiosgraph, called via the
service_perfdata_file_processing_command, to process the
service-perfdata file into RRD files.

All seems to be working fine, for the most part.  Except for one little
thing...

Nagiosgraph is able to parse and insert the data in these lines:
1184788008||xenhost3.wdc.studentuniverse.com||CPU Load||Load : 0.01 0.06
0.06 : OK||
1184788012||xenhost11.wdc.studentuniverse.com||CPU Load||Load : 0.00
0.00 0.00 : OK||
1184788017||xenhost4.wdc.studentuniverse.com||CPU Load||Load : 0.04 0.03
0.00 : OK||

But it doesn't do anything at all with this one:
1184788284||xenhost0.wdc.studentuniverse.com||CPU Load||Load : 0.23 0.24
0.21 : OK||

No RRD file is created, no data is inserted, etc.

The extra strange thing is that this _was_ working.  I did a restart of
the server yesterday afternoon, and the files seem to have stopped
updating after that restart.

All of these perfdata lines are a result of the same service in my
service configuration (the machines are in a single hostgroup, and only
one check is set up for that hostgroup).

The nagiosgraph map definition is this:
# Service type: cpu-load
#   output:Load : 0.01 0.01 0.00 : OK
/output:Load.*?([.0-9]+).*?([.0-9]+).*?([.0-9]+).*/
and push @s,    [ 'cpu-load',
                        [ '1minute', GAUGE, $1 ],
                        [ '5minute', GAUGE, $2 ],
                        [ '15minute', GAUGE, $3 ]
                ];      


The nagiosgraph.log doesn't show me anything about the skipped lines...

Anyone have any ideas why this wouldn't be working right?  What could
restarting the server have broken?  Is this nagios being funky, or
nagiosgraph, or RRDTool, or something else?  

TIA,

Ian

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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