Page 1 of 1

Empty Perf Charts - NPCD Service Errors

Posted: Thu Feb 20, 2025 9:58 am
by gregbeyer
Hi, I have found I have no data in my perf charts. First step was to check npcd service is running, and upon running servicectl status npcd, I find it running, but issuing these errors in repetition, about 20 times:

Feb 20 09:48:38 nagios.pace.gatech.edu npcd[1639969]: Can't locate warnings.pm: /usr/local/lib64/perl5/5.32/warnings.pm: Permission denied at /usr/local/nagios/libexec/process_perfdata.pl line 27.
Feb 20 09:48:38 nagios.pace.gatech.edu npcd[1639969]: BEGIN failed--compilation aborted at /usr/local/nagios/libexec/process_perfdata.pl line 27.
Feb 20 09:48:38 nagios.pace.gatech.edu npcd[1639975]: Can't locate warnings.pm: /usr/local/lib64/perl5/5.32/warnings.pm: Permission denied at /usr/local/nagios/libexec/process_perfdata.pl line 27.
Feb 20 09:48:38 nagios.pace.gatech.edu npcd[1639975]: BEGIN failed--compilation aborted at /usr/local/nagios/libexec/process_perfdata.pl line 27.
lines 1-41

It seems data stopped being added to any charts on 1/28. No upgrade or changes to Nagios were made.

Why is npcd throwing this error? Thanks

Re: Empty Perf Charts - NPCD Service Errors

Posted: Thu Feb 20, 2025 11:48 pm
by kg2857
You may want to see if warnings.pm exists at the location in the message and run process_perfdata.pl to see the output. Then troubleshoot.