NPCD Error Code 7
Posted: Sat Oct 19, 2013 4:10 am
Hi Team,
Im facing one issue when i checked my "npcd.log" like
[10-19-2013 13:33:51] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:33:51] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169791.perfdata.service'
[10-19-2013 13:36:05] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:36:05] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169941.perfdata.service'
[10-19-2013 13:36:42] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:36:42] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169963.perfdata.service'
[10-19-2013 13:45:24] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:45:24] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382170485.perfdata.service'
[10-19-2013 13:45:24] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:45:24] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382170485.perfdata.host'
Can u please let me know what is the root cause for this issue. And i also tried researching in support forum, i got some inputs like
1. output of ll /usr/local/nagios/var/spool/perfdata/
-rw-rw-r-- 1 nagios nagios 58212 Oct 11 19:13 1381498992.perfdata.service-PID-6412
-rw-rw-r-- 1 nagios users 233660 Oct 12 01:53 1381522990.perfdata.service-PID-18867
2. output of ls -ld /usr/local/nagios/var/spool/perfdata/
drwxr-xr-x 2 nagios nagios 417792 Oct 16 16:48 spool/perfdata/
3. And also used the permissions script to reload all the permissions, but still facing the issue with the above logs..
Please suggest us to solve the issue..
Thanks
Im facing one issue when i checked my "npcd.log" like
[10-19-2013 13:33:51] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:33:51] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169791.perfdata.service'
[10-19-2013 13:36:05] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:36:05] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169941.perfdata.service'
[10-19-2013 13:36:42] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:36:42] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382169963.perfdata.service'
[10-19-2013 13:45:24] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:45:24] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382170485.perfdata.service'
[10-19-2013 13:45:24] NPCD: ERROR: Executed command exits with return code '7'
[10-19-2013 13:45:24] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1382170485.perfdata.host'
Can u please let me know what is the root cause for this issue. And i also tried researching in support forum, i got some inputs like
1. output of ll /usr/local/nagios/var/spool/perfdata/
-rw-rw-r-- 1 nagios nagios 58212 Oct 11 19:13 1381498992.perfdata.service-PID-6412
-rw-rw-r-- 1 nagios users 233660 Oct 12 01:53 1381522990.perfdata.service-PID-18867
2. output of ls -ld /usr/local/nagios/var/spool/perfdata/
drwxr-xr-x 2 nagios nagios 417792 Oct 16 16:48 spool/perfdata/
3. And also used the permissions script to reload all the permissions, but still facing the issue with the above logs..
Please suggest us to solve the issue..
Thanks