Page 1 of 1

Can't find why Nagios isn't executing performance perlscript

Posted: Tue Oct 07, 2014 11:10 pm
by eriesupport
Thanks in advance...we have had an operation Nagios for 6+ years. We also have been using n2rrd as the performance processor for just as long. Everything has worked well and n2rrd.pl has dutifully been building rrds forever. Now for the bad part...

We recently upgraded from Ubuntu 12.04.4 to 14.04.1(now running Nagios Core 3.5.1 via Ubuntu repository, n2rrd version 1.4.6) and while most everything survived unscathed, the performance scripting is failing without any clue why. I did have some perl packages that were causing headaches, but that has since been resolved. Permissions on the script are execute for all. I can run the script as root with the data that Nagios should be sending without any errors. But nothing from Nagios. I modified the script to dump the passed variables at the beginning of the script - it never dumps anything from Nagios (do get output when run manually). I have tried +epn and -epn with no success. I have placed a very simple script in place, and that script executes. So Nagios config appears to be fine (I didn't expect something to change with that)

So can someone please feed me something to help troubleshoot this? Can I enable troubleshooting so I can see what Nagios may or may not be getting when it should be executing the script? H-E-L-P :-|

Thanks in advance again

Brian

Re: Can't find why Nagios isn't executing performance perlsc

Posted: Wed Oct 08, 2014 5:22 pm
by tmcdonald
What version of Nagios Core and n2rrds were you running before the upgrade? This definitely sounds more like a n2rrd problem since the dummy script you made is being run, so have you tried asking on their forum/mailing list? I personally haven't used n2rrd and had only just heard of it earlier this year.