On Feb 12, 2008, at 9:53 PM, Frost, Mark {PBG} wrote: > > I'm moving our current Nagios 2.10 configuration to a Nagios 3.0rc2 > distributed configuration. One component that isn't working for me is > nagiosgraph. After some investigation, it appears that the problem is > that while I'm sending the host/service check results to the central > server, none of the perfdata is making it there. Some of our checks > are > processed for nagiosgraph via their host/service output and some by > their performance data. This is all working on our 2.10 configuration > because none of the perfdata has to travel anywhere (i.e. it's all on > one server). > > So I thought I'd be clever and modify the send-service-perfdata and > send-host-perfdata to include $SERVICEPERFDATA$. That is: > > define command { > command_name send_service_check > command_line $USER5$/send_service_check.pl $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' '$SERVICEPERFDATA' > }
I'm unable to test this but the correct format for nagios to recognize performance data is 'output | perfdata'. Does using the following command_line work as expected -- command_line $USER5$/send_service_check.pl $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$ | $SERVICEPERFDATA$' Note that you were also missing the final $ in $SERVICEPERFDATA above. It might have been an e-mail typo only though. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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