Hello. Let me describe my saga to you, as I still have unprocessed data that I'd like to process.
I'm using icinga2 2.4.4 with PNP 0.6.25 on FreeBSD 10.2, all installed out of ports. I've been working with this system for a week, so please excuse me if I do not know intimate details of these systems. I got this all set up and working, but sometime last night random graphs stopped working. After figuring out that NPCD is hardcoded to syslog facility local0, I was finally able to get the log entries involved:
Googling revealed the existence of a verify script. However, the verify script does not support icinga2. So I dug deeper.
After checking your github and realizing that NPCD does not save stdout or stderr anywhere (which would be really really useful, but you are using popen()/pclose()) I modified process_perfdata.pl like this:
This revealed the issue. This perl script was trying to write to /var/log/perfdata.log but it's running as user icinga which does not have permissions to write to the log directory. I fixed that by giving pnp it's own log directory. So now I have tons (around 2000) of these files:
This finally brings me to my question.
How do I get these back in the PNP system so their data can be graphed?
Thanks in advance for any cogent replies.