Search found 25 matches

by cambevis
Tue Jun 23, 2015 10:25 am
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

[root@nagiosxi ~]# ls -al /usr/local/nagios/libexec/process_perfdata.pl -rwsr-xr-x 1 root nagios 32666 May 8 00:02 /usr/local/nagios/libexec/process_pe rfdata.pl [root@nagiosxi ~]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost.localdomain localhost4 l ocalhost4.localdomain4 localhost nagi...
by cambevis
Tue Jun 23, 2015 10:19 am
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

[root@nagiosxi ~]# ls -al /usr/local/nagios/libexec/process_perfdata.pl -rwsr-xr-x 1 root nagios 32666 May 8 00:02 /usr/local/nagios/libexec/process_pe rfdata.pl [root@nagiosxi ~]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost.localdomain localhost4 l ocalhost4.localdomain4 localhost nagi...
by cambevis
Fri Jun 19, 2015 2:31 pm
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

I really feel like there's something wrong with maybe a newly yum'ed Perl library or Perl package that has caused npcd to halt while processing the files, hence the build up of spool files.
by cambevis
Fri Jun 19, 2015 12:30 pm
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

BTW, I turned off npcd. Scenario (I've done this 3x). Stop npcd Delete ALL in the spool directories Start npcd ...wait ...wait spool files not processed (see [06-19-2015 11:19:05] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata/...
by cambevis
Fri Jun 19, 2015 12:08 pm
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

[root@nagiosxi ~]# ls /usr/local/nagios/var/spool/xidpe | wc -l
2
[root@nagiosxi ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
32720
[root@nagiosxi ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
by cambevis
Tue Jun 16, 2015 1:35 pm
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

Deleted all of perfdata, restarted npcd, took about 2 minutes to climb to a load of 4.
by cambevis
Tue Jun 16, 2015 12:13 pm
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

Load is 3-6, cpu 100.

[root@nagiosxi ~]# ls -l /usr/local/nagios/var/spool
total 13832
drwxrwsr-x. 2 nagios nagios 4096 Jun 16 00:27 checkresults
drwxr-xr-x. 2 nagios nagios 14151680 Jun 16 12:12 perfdata
drwxr-xr-x. 2 nagios nagios 4096 Jun 16 12:12 xidpe
by cambevis
Tue Jun 16, 2015 11:04 am
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

Nah, chmodded them and restarted, still have to stop npcd within a few minutes.
by cambevis
Fri Jun 12, 2015 5:34 am
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

Sorry I'm not responding to these more quickly, I'm not getting notices from my subscription. I've never done a RAMDISK on this instance. [root@nagiosxi ~]# ls -lad /usr/local/nagios/var/spool/ drwxr-xr-x. 5 root root 4096 Jun 6 2012 /usr/local/nagios/var/spool/ [root@nagiosxi ~]# ls -lad /usr/local...
by cambevis
Thu Jun 11, 2015 11:28 am
Forum: Nagios XI
Topic: High CPU/Load on npcd
Replies: 36
Views: 2543

Re: High CPU/Load on npcd

I wonder what happened around 5/16? There's nothing in the logs, and we haven't made any system changes recently.
I did upgrade on 5/8 to current version.