Re: Blank Performance Reports
Posted: Tue Mar 05, 2013 9:46 am
I think at this point I may back-out the changes that were sending information to ramdisk for perfdata... it seems to be the underlying cause.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
/bin/mv /ramdisk/spool/host-perfdata /ramdisk/spool/xidpe/$TIMET$.perfdata.hostCode: Select all
[03-05-2013 14:50:12] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:50:12] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'
[03-05-2013 14:50:42] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:50:42] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'
[03-05-2013 14:51:27] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:51:27] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'
[03-05-2013 14:52:27] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:52:27] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'
[03-05-2013 14:53:27] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:53:27] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'Code: Select all
-bash-3.2$ /usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/process_perfdata.pl line 203, <PDFILE> line 24917.
Use of uninitialized value in pattern match (m//) at /usr/local/nagios/libexec/process_perfdata.pl line 210, <PDFILE> line 24917.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/process_perfdata.pl line 216, <PDFILE> line 24917.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/process_perfdata.pl line 216, <PDFILE> line 24917.
Use of uninitialized value in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 219, <PDFILE> line 24917.
Use of uninitialized value in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 220, <PDFILE> line 24917.
Use of uninitialized value in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 221, <PDFILE> line 24917.
Check/fix the permissions for the perfdata folder:kotterbein wrote: [03-05-2013 14:50:12] NPCD: ERROR: Executed command exits with return code '7'
[03-05-2013 14:50:12] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /ramdisk/spool/perfdata//host-perfdata.1362511776'
Code: Select all
chmod -R +x /usr/local/nagios/share/perfdataCode: Select all
10974 nagios 17 0 127m 5332 2428 R 96.2 0.0 3:05.18 process_perfdat
Code: Select all
-rw-r--r-- 1 nagios nagios 235M Mar 5 15:43 host-perfdata.1362511776