I recently imigrated nagios to another server with nagiosql and nagiosgraph.
Everything is working fine, only my perfdata.log is only showing a certain amount of information. Normally in that file every process should be written, I only see a certain amount of perfdata. I know this is a nagios problem and not a nagiosgraph, but on the nagios support forum they arn't answering my question.
Does any of you know if there is an option that filters out some performance data? It looks like only my linux template is giving perfdata. The windows template isn't (only ping works).
$ /usr/lib64/nagios/plugins/check_nrpe -H 192.168.165.98 -c check_disk_c -t 30 -p 16162
Used: 4906 MB (10%) Free: 41093 MB (89%)
Like you see I get only serviceoutput and no perfdata. How can I make perdata out of this, so it appears in my perfdata.log file so I can create some graphs out of it ?
It only writes data that has perfdata to my perfdata.log.
I also want it to write data WITHOUT perfdata getting written to this log file so I can graph it.
what do I need to add for that?
I would write a shell script that Nagios calls instead of directly calling check_nrpe. The shell script would take the check_nrpe output and format it like, for example, the ping output.
Log in to post a comment.