Reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

I have made the suggested chnages but it is still the same...!!!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post 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
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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Reporting

Post by neodg »

Code: Select all

ls /usr/local/nagios/var/spool/checkresults/ | wc -l
out for the above command - 30

Logs
logs.zip
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reporting

Post 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:

Code: Select all

load_threshold = 10.0

To:

Code: Select all

load_threshold = 20.0
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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Reporting

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

Great. Whenever you have time.
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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Reporting

Post by neodg »

Here is NPCD.log
npcd.zip
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post 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:

Code: Select all

ps -aux
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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Reporting

Post 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.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

perfdata may be backed up. What is the output of:

Code: Select all

ls /usr/local/nagios/var/spool/checkresults/ | wc -l
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.
Locked