No output to perfdata.log of Total Processes
Re: No output to perfdata.log of Total Processes
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.
-
draakje
Re: No output to perfdata.log of Total Processes
Ok I get this part..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.
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
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
I think we would all like to know why it worked, because it's not supposed todraakje 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