Buggy Nagios 2.x performance data?

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Apr 7 19:51:13 CEST 2006


On Fri, 7 Apr 2006, Hugo van der Kooij wrote:
>
> I have build a new system which prime task will be nagios. Nagios seems to
> be running just fine and I was adding NagiosGrapher v1.5 to it to handle
> the performance data. But it seems I still have issues with performance
> data missing.
>
> I started noticing after I added extra servers instead of graphing just
> about anything I could check with nagios on my local server.

Could this be a case where multiple updates to ngraph happen too close
together? So one update effectively denies data passing from nagios to
nagiosgrapher through the named pipe untill it is done and other updates
would silently be dropped.

The relevant sections in the nagios config are:


process_performance_data=1
service_perfdata_command=process-service-perfdata

# 'process-service-perfdata' command definition
define command {
        command_name    process-service-perfdata
#       command_line    /usr/lib/nagios/eventhandlers/fifo_write.pl     /var/lib/nagios/ngraph.pipe     '$HOSTNAME$     $SERVICEDESC$   $SERVICEOUTPUT$ $SERVICEPERFDATA$'      3
        command_line    /usr/lib/nagios/nagiosgrapher/fifo_write.pl /var/spool/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
	}


I noticed the socket section in the ngraph.cfg file but could not find how
to use sockets instead of a named pipe. Nor do I know if it would remedy
the situation.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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