Blank Performance Reports
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Re: Blank Performance Reports
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.
Re: Blank Performance Reports
Are we sure they are being reaped? 900000+ files . .. .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Re: Blank Performance Reports
things are just getting stranger now- I realized that the command to mv was incorrect and sourcing a file that was not there, so upon changing to:
process-host-perfdata-file-bulk
and applying this configuration, files are being created in /ramdisk/spool/xidpe on a regular basis.
but now I see the following issues:
in npcd.log:
/ramdisk/spool/perfdata//host-perfdata.1362511776 does not exist.
as well, all of my service checks are updating but nagios has them listed as pending when I drill down to the service check, and none of the nodes are showing their services listed under them.
I've tried doing a full shutdown and restart of nagios processes, but it's so far proven unsuccessful in getting back to a stable state.
process-host-perfdata-file-bulk
Code: Select all
/bin/mv /ramdisk/spool/host-perfdata /ramdisk/spool/xidpe/$TIMET$.perfdata.hostbut now I see the following issues:
in npcd.log:
Code: 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'as well, all of my service checks are updating but nagios has them listed as pending when I drill down to the service check, and none of the nodes are showing their services listed under them.
I've tried doing a full shutdown and restart of nagios processes, but it's so far proven unsuccessful in getting back to a stable state.
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Re: Blank Performance Reports
trying to run the process by command line:
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.
Re: Blank Performance Reports
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/perfdataFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Re: Blank Performance Reports
permissions all look fine. I upped the timeout on the process_perfdata.pl script- looks like it is chomping on it for a while, and timesout:
I upped the timeout to 1600 seconds to see if it will go through it, but the file it's processing is rather large, assuming it would take a while:
Code: 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.1362511776Re: Blank Performance Reports
hmmm. That seems excessively large.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Re: Blank Performance Reports
looks good now- I did a reboot, cleared the ramdisk of prior data, and am now seeing data- I think there was just too much for it to handle.
Re: Blank Performance Reports
Sounds good. You should watch the number and size of files that collect there. They *should* get reaped fairly quickly.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.