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.
URGENT - Perfdata processing is off, but perfdata exists???
Re: URGENT - Perfdata processing is off, but perfdata exists
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.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.
-
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
Don't have an exact time but should be in the next couple months.
Re: URGENT - Perfdata processing is off, but perfdata exists
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?
/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
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
[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
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
Code: Select all
service npcd statusfind
Code: Select all
load_threshold =10Then
Code: Select all
service npcd restartRe: URGENT - Perfdata processing is off, but perfdata exists
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
[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
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!