Page 2 of 2
Re: No output to perfdata.log of Total Processes
Posted: Tue Jun 19, 2012 3:53 pm
by agriffin
Perfdata is communicated to Nagios by the output of running a plugin. It's everything after a "pipe" character (that vertical bar on your keyboard - | ). The output you posted shows that your plugin does NOT output this data. I'm not sure what perfdata.log is showing, but if you were able to get perfdata out of this plugin it is because you invoked it differently or used another version with support for perfdata.
Re: No output to perfdata.log of Total Processes
Posted: Wed Jun 20, 2012 3:32 am
by draakje
agriffin wrote:Perfdata is communicated to Nagios by the output of running a plugin. It's everything after a "pipe" character (that vertical bar on your keyboard - | ). The output you posted shows that your plugin does NOT output this data. I'm not sure what perfdata.log is showing, but if you were able to get perfdata out of this plugin it is because you invoked it differently or used another version with support for perfdata.
Ok I get this part..
But maybe I am not explaining myself correctly.
I would like to know why the graph for the Total Processes does work with Nagios ver 3.2.3 (& Nagiosgraph 1.4.4) and why it doesn't work with Nagios 4.3.1 (& Nagiosgraph 1.4.4). All configuration/installation is the same.
Only difference I see is in the debug whereas the older version has some additional Macro processing. (which will convert the output of the Total Processes into the perforate.log)
Regards
Re: No output to perfdata.log of Total Processes
Posted: Wed Jun 20, 2012 3:29 pm
by agriffin
I guess I'm not sure then. My understanding is that this shouldn't be the case.
Re: No output to perfdata.log of Total Processes
Posted: Thu Jun 21, 2012 7:36 pm
by jsmurphy
draakje wrote:
I would like to know why the graph for the Total Processes does work with Nagios ver 3.2.3 (& Nagiosgraph 1.4.4) and why it doesn't work with Nagios 4.3.1 (& Nagiosgraph 1.4.4). All configuration/installation is the same.
Only difference I see is in the debug whereas the older version has some additional Macro processing. (which will convert the output of the Total Processes into the perforate.log)
Regards
I think we would all like to know why it worked, because it's not supposed to

. It could be that there was a test feature or something in that version of Nagios that made a "best guess" at trying to create generate performance data... though I've never heard of such a feature. Maybe agriffin could ask one of the core devs if such a feature was ever tested or existed but to the best of our collective knowledge it's not a bug because it was never meant to exist in the first place.