Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Mon Jul 16, 2012 9:07 am
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.
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Tue Jul 17, 2012 12:47 pm
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.
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Tue Jul 17, 2012 1:32 pm
by scottwilkerson
Don't have an exact time but should be in the next couple months.
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Wed Jul 18, 2012 2:23 pm
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?
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Wed Jul 18, 2012 2:25 pm
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
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Wed Jul 18, 2012 2:35 pm
by scottwilkerson
Is npcd running?
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
and increase up to 10*#ofCPU's
Then
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Wed Jul 18, 2012 2:53 pm
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
Re: URGENT - Perfdata processing is off, but perfdata exists
Posted: Wed Jul 18, 2012 4:34 pm
by lmiltchev
Do you see anything interesting in the npcd log file (/usr/local/nagios/var/npcd.log)?