Page 4 of 6
Re: Reporting
Posted: Fri Jul 12, 2013 12:52 pm
by MSPk
I have made the suggested chnages but it is still the same...!!!
Re: Reporting
Posted: Fri Jul 12, 2013 2:00 pm
by abrist
Are you graphs beginner to populate at all (new checks)?
How many files are in the checkresults folder:
Code: Select all
ls /usr/local/nagios/var/spool/checkresults/ | wc -l
Post new tails of the logs:
Code: Select all
tail -50 /usr/local/nagios/var/perfdata.log
tail -50 /usr/local/nagios/var/npcd.log
Re: Reporting
Posted: Mon Jul 15, 2013 10:02 am
by neodg
Code: Select all
ls /usr/local/nagios/var/spool/checkresults/ | wc -l
out for the above command - 30
Logs
logs.zip
Re: Reporting
Posted: Mon Jul 15, 2013 10:55 am
by slansing
Neo, it does not look like the changes took effect:
Looks like you are hitting a load limit for NPCD. Your system seems to be spiking a bit, lets increase the max load to 20 and see how things go:
Code: Select all
vi /usr/local/nagios/etc/pnp/npcd.cfg
Change:
To:
service npcd restart
Then tail the log file again and let us know what the output is.
Be sure to restart npcd as shown above! Let us know if the log is still showing max load, as that means for some reason your changes are not taking effect.
Re: Reporting
Posted: Tue Jul 16, 2013 11:26 am
by neodg
I have just checked the configuration file and it is set to 30 already.I have restarted the service and will post the log file shortly.
Re: Reporting
Posted: Tue Jul 16, 2013 12:58 pm
by abrist
Great. Whenever you have time.
Re: Reporting
Posted: Fri Jul 19, 2013 1:41 am
by neodg
Here is NPCD.log
npcd.zip
Re: Reporting
Posted: Fri Jul 19, 2013 1:22 pm
by abrist
You are still hitting max load at 30:
[07-19-2013 01:55:31] NPCD: WARN: MAX load reached: load 31.400000/30.000000 at i=0
[07-19-2013 02:01:03] NPCD: WARN: MAX load reached: load 31.460000/30.000000 at i=0
[07-19-2013 02:01:18] NPCD: WARN: MAX load reached: load 39.270000/30.000000 at i=1
[07-19-2013 02:01:33] NPCD: WARN: MAX load reached: load 37.430000/30.000000 at i=1
Increase it more?
Additionally, could you post the output of:
Re: Reporting
Posted: Tue Jul 23, 2013 2:16 am
by neodg
npcd.log
npcd2207.zip
Output for command ps -aux
auxlog.zip
I have made the change to npcd.cfg yesterday, I dont see any errors in the log now, however the performance graphs are still blank.
Re: Reporting
Posted: Tue Jul 23, 2013 3:00 pm
by abrist
perfdata may be backed up. What is the output of:
Code: Select all
ls /usr/local/nagios/var/spool/checkresults/ | wc -l