URGENT - Perfdata processing is off, but perfdata exists???

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by mguthrie »

You can adjust how often that log table is cleared by accessing the Admin->Performance settings->Database(tab).

Our upcoming 2012 release will have built-in audit logging across the system which will be a much more robust solution.
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by cscholz »

mguthrie wrote:You can adjust how often that log table is cleared by accessing the Admin->Performance settings->Database(tab).

Our upcoming 2012 release will have built-in audit logging across the system which will be a much more robust solution.
What's the ETA on that? I've had to lock our system down to the point where I'm the only one allowed to make changes because of people making serious mistakes. Really need to be able to do user-level auditing.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by scottwilkerson »

Don't have an exact time but should be in the next couple months.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by cscholz »

These just showed up today:

/usr/local/nagios/var/spool/perfdata
-rw-r--r-- 1 nagios users 0 Jul 18 10:44 host-perfdata.1342622683
-rw-r--r-- 1 nagios users 0 Jul 18 10:44 service-perfdata.1342622683

What's going on here guys?
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by cscholz »

For some reason that last one didn't post this morning when I first submitted it. Since then, they've grown to 36M each:


[cscholz@nagsys ~]$ ll -h /usr/local/nagios/var/spool/perfdata
total 72M
-rw-r--r-- 1 nagios users 36M Jul 13 10:19 host-perfdata.1338828170-PID-1713
-rw-r--r-- 1 nagios users 36M Jul 13 10:10 host-perfdata.1338828170-PID-26688
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by scottwilkerson »

Is npcd running?

Code: Select all

service npcd status
What is the load like on the machine? If you have multiple processors and the load is above 10 you may need to adjust a setting in /usr/local/nagios/etc/pnp/npcd.cfg

find

Code: Select all

load_threshold =10
and increase up to 10*#ofCPU's

Then

Code: Select all

service npcd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by cscholz »

The load is extremely low. It's not going anywhere near 10. Maxing out at 0.20.

[root@nagsys ~]# service npcd status
NPCD running (pid 12064).

[root@nagsys ~]# while true; do uptime; sleep 5; done;
15:50:37 up 25 days, 4:13, 2 users, load average: 0.20, 0.17, 0.16
15:50:42 up 25 days, 4:13, 2 users, load average: 0.18, 0.16, 0.16
15:50:47 up 25 days, 4:13, 2 users, load average: 0.17, 0.16, 0.15
15:50:52 up 25 days, 4:13, 2 users, load average: 0.15, 0.16, 0.15
15:50:57 up 25 days, 4:14, 2 users, load average: 0.14, 0.15, 0.15
15:51:02 up 25 days, 4:14, 2 users, load average: 0.13, 0.15, 0.15
15:51:07 up 25 days, 4:14, 2 users, load average: 0.12, 0.15, 0.15
15:51:12 up 25 days, 4:14, 2 users, load average: 0.11, 0.15, 0.15
15:51:17 up 25 days, 4:14, 2 users, load average: 0.10, 0.14, 0.15
15:51:22 up 25 days, 4:14, 2 users, load average: 0.09, 0.14, 0.15
15:51:27 up 25 days, 4:14, 2 users, load average: 0.08, 0.14, 0.15
15:51:32 up 25 days, 4:14, 2 users, load average: 0.08, 0.14, 0.15
15:51:37 up 25 days, 4:14, 2 users, load average: 0.07, 0.13, 0.14
15:51:42 up 25 days, 4:14, 2 users, load average: 0.14, 0.15, 0.15
15:51:47 up 25 days, 4:14, 2 users, load average: 0.13, 0.14, 0.15
15:51:52 up 25 days, 4:14, 2 users, load average: 0.12, 0.14, 0.15
15:51:57 up 25 days, 4:15, 2 users, load average: 0.11, 0.14, 0.15
15:52:02 up 25 days, 4:15, 2 users, load average: 0.18, 0.15, 0.15
15:52:07 up 25 days, 4:15, 2 users, load average: 0.17, 0.15, 0.15
15:52:12 up 25 days, 4:15, 2 users, load average: 0.15, 0.15, 0.15
15:52:17 up 25 days, 4:15, 2 users, load average: 0.14, 0.14, 0.15
15:52:22 up 25 days, 4:15, 2 users, load average: 0.13, 0.14, 0.15
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: URGENT - Perfdata processing is off, but perfdata exists

Post by lmiltchev »

Do you see anything interesting in the npcd log file (/usr/local/nagios/var/npcd.log)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked