Nagioxi CPU consumption strongly increased

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

Hi,

Code: Select all

[root@nagiosxi scripts]# cat /etc/cron.d/nagiosxi
# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi

# Backup MySQL & PostgreSQL Databases
0   7 * * * root   /root/scripts/automysqlbackup
0   8 * * * root   /root/scripts/autopostgresqlbackup

*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1
01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1

[root@nagiosxi scripts]#
[root@nagiosxi scripts]# service crond stop
Stopping crond:                                            [  OK  ]
[root@nagiosxi scripts]# killall crond
crond: no process killed
[root@nagiosxi scripts]# service crond start
Starting crond:                                            [  OK  ]
[root@nagiosxi scripts]# ps -ef | grep cron | grep -v grep
root     10841     1  0 17:21 ?        00:00:00 crond
[root@nagiosxi scripts]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagioxi CPU consumption strongly increased

Post by tgriep »

One thing, when the cron daemon runs, it tried to send an email that the job ran and that could be causing the issue for cron not starting

Edit this file

Code: Select all

/etc/cron.d/nagiosxi
And add the following to the top of the file and restart the cron daemon for the change to take effect.

Code: Select all

MAILTO=""
If it still fails, please run the following and post the output here?

Code: Select all

ps -ef --cols=300
tail -50 /var/log/cron
ll /usr/local/nagiosxi/var
df -h
df -i
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

Edit the file /etc/cron.d/nagiosxi And add the following to the top of the file and restart the cron daemon for the change to take effect.
=> Done

Code: Select all

[root@nagiosxi scripts]# vi /etc/cron.d/nagiosxi
# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi

MAILTO=""
# Backup MySQL & PostgreSQL Databases
0   7 * * * root   /root/scripts/automysqlbackup
0   8 * * * root   /root/scripts/autopostgresqlbackup

*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1
01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1

[root@nagiosxi scripts]# service crond stop
Stopping crond:                                            [  OK  ]
[root@nagiosxi scripts]# killall crond
crond: no process killed
[root@nagiosxi scripts]# service crond start
Starting crond:                                            [  OK  ]
If it still fails
=> How can I see that ? (I ran a ps -ef | grep cron | grep -v grep)

Code: Select all

[root@nagiosxi scripts]# ps -ef | grep cron | grep -v grep
root     12084     1  0 08:43 ?        00:00:00 crond
please run the following and post the output here?

Code: Select all

[root@nagiosxi scripts]# tail -50 /var/log/cron
Sep  2 08:40:04 nagiosxi crond[10156]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:40:07 nagiosxi crond[10167]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:40:08 nagiosxi crond[10162]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:40:08 nagiosxi crond[10179]: (nagios) MAIL (mailed 147 bytes of output but got status 0x0001 )
Sep  2 08:40:13 nagiosxi crond[10177]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:40:13 nagiosxi crond[10173]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:40:25 nagiosxi crond[10165]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:40:25 nagiosxi crond[10159]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:41:01 nagiosxi crond[10754]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  2 08:41:01 nagiosxi crond[10757]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  2 08:41:01 nagiosxi crond[10764]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  2 08:41:01 nagiosxi crond[10765]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  2 08:41:02 nagiosxi crond[10767]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  2 08:41:02 nagiosxi crond[10771]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  2 08:41:02 nagiosxi crond[10772]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  2 08:41:02 nagiosxi crond[10778]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  2 08:41:05 nagiosxi crond[10755]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:41:05 nagiosxi crond[10769]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:41:05 nagiosxi crond[10759]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:41:08 nagiosxi crond[10761]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:41:08 nagiosxi crond[10753]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:41:08 nagiosxi crond[10768]: (nagios) MAIL (mailed 147 bytes of output but got status 0x0001 )
Sep  2 08:41:14 nagiosxi crond[10758]: (nagios) MAIL (mailed 135 bytes of output but got status 0x0001 )
Sep  2 08:41:14 nagiosxi crond[10760]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:42:01 nagiosxi crond[11465]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11468]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11471]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11474]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11478]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11481]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11485]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  2 08:42:01 nagiosxi crond[11487]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  2 08:42:04 nagiosxi crond[11464]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:42:04 nagiosxi crond[11476]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:42:04 nagiosxi crond[11472]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:42:07 nagiosxi crond[11480]: (nagios) MAIL (mailed 147 bytes of output but got status 0x0001 )
Sep  2 08:42:07 nagiosxi crond[11469]: (nagios) MAIL (mailed 135 bytes of output but got status 0x0001 )
Sep  2 08:42:07 nagiosxi crond[11483]: (nagios) MAIL (mailed 143 bytes of output but got status 0x0001 )
Sep  2 08:42:13 nagiosxi crond[11475]: (nagios) MAIL (mailed 145 bytes of output but got status 0x0001 )
Sep  2 08:42:13 nagiosxi crond[11466]: (nagios) MAIL (mailed 153 bytes of output but got status 0x0001 )
Sep  2 08:43:00 nagiosxi crond[12084]: (CRON) STARTUP (V5.0)
Sep  2 08:43:00 nagiosxi crond[12084]: (CRON) @reboot jobs will be run at computer's startup. ()
Sep  2 08:44:01 nagiosxi crond[12613]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12618]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12619]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12622]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12625]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12628]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12631]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  2 08:44:01 nagiosxi crond[12633]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
[root@nagiosxi scripts]# ll /usr/local/nagiosxi/var
total 656
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 cleaner.log
-rw-rw-r-- 1 nagios nagios   663 Jul 24 04:02 cleaner.log.1
-rw-rw-r-- 1 nagios nagios   460 Jul 17 04:02 cleaner.log.2
-rw-rw-r-- 1 nagios nagios   302 Jul 10 04:02 cleaner.log.3
-rw-rw-r-- 1 nagios nagios   302 Jul  3 04:02 cleaner.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 cmdsubsys.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 cmdsubsys.log.1
-rw-rw-r-- 1 nagios nagios   240 Jul 17 04:03 cmdsubsys.log.2
-rw-rw-r-- 1 nagios nagios    82 Jul 10 04:03 cmdsubsys.log.3
-rw-rw-r-- 1 nagios nagios    82 Jul  3 04:03 cmdsubsys.log.4
drwsrwsr-x 2 apache nagios  4096 Jul 25 16:59 components
-rw-r--r-- 1 nagios nagios     7 Jul 29 08:36 corelog.data
-rw-r--r-- 1 nagios nagios   167 Jul 29 08:36 corelog.diff
-rwxrwxr-x 1 nagios nagios   111 Jul 11 09:46 corelog.newobjects
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:40 dbmaint.log
-rw-rw-r-- 1 nagios nagios    66 Jul 24 04:00 dbmaint.log.1
-rw-rw-r-- 1 nagios nagios  2839 Jul 17 04:00 dbmaint.log.2
-rw-rw-r-- 1 nagios nagios  2681 Jul 10 04:00 dbmaint.log.3
-rw-rw-r-- 1 nagios nagios  2681 Jul  3 04:00 dbmaint.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:40 deadpool.log
-rw-rw-r-- 1 nagios nagios   663 Jul 24 04:00 deadpool.log.1
-rw-rw-r-- 1 nagios nagios   233 Jul 17 04:00 deadpool.log.2
-rw-rw-r-- 1 nagios nagios    75 Jul 10 04:00 deadpool.log.3
-rw-rw-r-- 1 nagios nagios    75 Jul  3 04:00 deadpool.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 eventman.log
-rw-rw-r-- 1 nagios nagios   663 Jul 24 04:02 eventman.log.1
-rw-rw-r-- 1 nagios nagios   198 Jul 17 04:03 eventman.log.2
-rw-rw-r-- 1 nagios nagios    40 Jul 10 04:03 eventman.log.3
-rw-rw-r-- 1 nagios nagios    40 Jul  3 04:03 eventman.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 feedproc.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 feedproc.log.1
-rw-rw-r-- 1 nagios nagios   657 Jul 17 04:03 feedproc.log.2
-rw-rw-r-- 1 nagios nagios    25 Jul 10 04:03 feedproc.log.3
-rw-rw-r-- 1 nagios nagios    25 Jul  3 04:03 feedproc.log.4
-rw-rw-r-- 1 nagios nagios   987 Sep  2 07:52 load_url.log
-rw-rw-r-- 1 nagios nagios   989 Aug 30 18:06 load_url.log.1
-rw-rw-r-- 1 nagios nagios   987 May 31 14:34 load_url.log.2
-rw-rw-r-- 1 nagios nagios   995 Apr 23 14:26 load_url.log.3
-rw-rw-r-- 1 nagios nagios   986 Apr 12 08:49 load_url.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 nom.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 nom.log.1
-rw-rw-r-- 1 nagios nagios   158 Jul 17 04:02 nom.log.2
-rw-rw-r-- 1 nagios nagios   158 Jul 13 04:02 nom.log.3
-rw-rw-r-- 1 nagios nagios    74 Aug 10  2014 nom.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 perfdataproc.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 perfdataproc.log.1
-rw-rw-r-- 1 nagios nagios   239 Jul 17 04:03 perfdataproc.log.2
-rw-rw-r-- 1 nagios nagios    81 Jul 10 04:03 perfdataproc.log.3
-rw-rw-r-- 1 nagios nagios    81 Jul  3 04:03 perfdataproc.log.4
-rw-rw-r-- 1 nagios nagios 75961 Sep  2 08:01 recurringdowntime.log
-rw-rw-r-- 1 nagios nagios 75964 Aug 28 04:01 recurringdowntime.log.1
-rw-rw-r-- 1 nagios nagios 75885 Aug 21 04:01 recurringdowntime.log.2
-rw-rw-r-- 1 nagios nagios 75885 Aug 14 04:01 recurringdowntime.log.3
-rw-rw-r-- 1 nagios nagios 75884 Aug  7 04:01 recurringdowntime.log.4
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 reportengine.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 reportengine.log.1
-rw-rw-r-- 1 nagios nagios   158 Jul 17 04:02 reportengine.log.2
-rw-rw-r-- 1 nagios nagios   158 Jul 13 04:02 reportengine.log.3
-rw-rw-r-- 1 nagios nagios    74 Aug 10  2014 reportengine.log.4
drwxr-xr-x 2 nagios nagios  4096 Aug 30 08:47 subsys
-rw-rw-r-- 1 nagios nagios     0 Sep  2 08:44 sysstat.log
-rw-rw-r-- 1 nagios nagios   347 Jul 24 04:02 sysstat.log.1
-rw-rw-r-- 1 nagios nagios  8398 Jul 17 04:03 sysstat.log.2
-rw-rw-r-- 1 nagios nagios  8226 Jul 10 04:03 sysstat.log.3
-rw-rw-r-- 1 nagios nagios  8226 Jul  3 04:03 sysstat.log.4
drwxr-xr-x 2 nagios nagios  4096 Apr 12 08:36 upgrades
-rw-r--r-- 1 nagios nagios 21909 Apr 12 08:36 xi-sys.cfg
-rwxr-xr-x 1 nagios nagios   195 Apr 12 08:36 xiversion
[root@nagiosxi scripts]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       28G   23G  3.6G  87% /
/dev/sda1              99M   31M   63M  34% /boot
tmpfs                 1.5G     0  1.5G   0% /dev/shm
[root@nagiosxi scripts]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
                     7569408  575036 6994372    8% /
/dev/sda1              26104      53   26051    1% /boot
tmpfs                 219735       1  219734    1% /dev/shm
[root@nagiosxi scripts]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagioxi CPU consumption strongly increased

Post by tgriep »

The MAIL error could be that the root mailbox is full.
Go to this folder and clear out the root mail box.

Code: Select all

/var/spool/mail
The other problem of the Nagios crons not running could be that the nagios account it expired or the permissions for the folders are incorrect, etc.
Can you run the following commands as root ant post the output?

Code: Select all

chage -l nagios
grep nag /etc/passwd
grep nag /etc/group
ll /usr/local/nagiosxi
ll /usr/local
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

Hi,
Go to this folder and clear out the root mail box.
=> How can I clear the root mail box ?

Can you run the following commands as root ant post the output?
Here it is :

Code: Select all

[root@nagiosxi mail]# chage -l nagios
Last password change                                    : Mar 14, 2013
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
[root@nagiosxi mail]# grep nag /etc/passwd
nagios:x:20739:500::/home/nagios:/bin/bash
[root@nagiosxi mail]# grep nag /etc/group
nagios:x:500:apache,nagios
nagcmd:x:501:apache,nagios
[root@nagiosxi mail]# ll /usr/local/nagiosxi
total 44
drwxr-xr-x  2 nagios nagios  4096 Mar 13  2013 cron
drwxr-xr-x  3 nagios nagios  4096 Sep  8  2011 etc
drwxr-xr-x 19 nagios nagios  4096 May 17 14:31 html
drwxr-xr-x  3 nagios nagios  4096 Aug 29  2011 nom
-rw-r--r--  1 nagios nagios   291 Mar 14  2013 php.log
drwxr-xr-x  2 nagios nagios  4096 Aug 30 08:47 scripts
drwsrwsr-x 10 nagios nagios 12288 Jul 25 16:59 tmp
drwxr-xr-x  2 nagios nagios  4096 Jul 22 16:47 tools
drwxr-xr-x  5 nagios nagios  4096 Sep  4 04:02 var
[root@nagiosxi mail]# ll /usr/local
total 104
drwxr-xr-x  2 root   root   4096 Sep 19  2013 bin
drwxr-xr-x  2 root   root   4096 May 11  2011 etc
drwxr-xr-x  2 root   root   4096 May 11  2011 games
drwxr-xr-x  3 root   root   4096 Oct 25  2012 include
drwxr-xr-x  6 root   root   4096 Oct 25  2012 lib
drwxr-xr-x  2 root   root   4096 May 11  2011 libexec
drwxr-xr-x  4 root   root   4096 Jul  6  2010 man
drwxr-xr-x  9    500 nagios 4096 May 28  2013 nagios
drwxr-xr-x  8    500 nagios 4096 Sep 19  2011 nagiosfusion
drwxr-xr-x  6 root   root   4096 Apr 12 08:36 nagiosmobile
drwxr-xr-x 10 nagios nagios 4096 Mar 14  2013 nagiosxi
drwxr-xr-x  5 apache apache 4096 Sep 19  2011 nagvis
drwxr-xr-x  7 nagios nagios 4096 Apr 12 08:33 nrdp
drwxr-xr-x  2 root   root   4096 Sep 19  2013 sbin
drwxr-xr-x  4 root   root   4096 May 11  2011 share
drwxr-xr-x  2 root   root   4096 May 11  2011 src
drwxr-xr-x  5 root   root   4096 Sep 27  2011 vmware-vsphere-perl-sdk
[root@nagiosxi mail]#

User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagioxi CPU consumption strongly increased

Post by tgriep »

Here is how you can clear out the root mailbox. Login as root and run the following.

Code: Select all

cd /var/spool/mail
> root
This will clear out the root email inbox

The nagios folder's permission doesn't look correct, run this to fix it.

Code: Select all

chown nagios.nagios /usr/local/nagios
Then run the following and post the output.

Code: Select all

service crond restart
service crond status
tail -50 /var/log/cron
tail -50 /var/log/messages
ps -ef --cols=300
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

I've done that (the > root command looks strange)

Code: Select all

[root@nagiosxi mail]# cd /var/spool/mail
[root@nagiosxi mail]# > root
The nagios folder's permission doesn't look correct, run this to fix it.
=> done

Code: Select all

[root@nagiosxi mail]# chown nagios.nagios /usr/local/nagios
Then run the following and post the output.

Code: Select all

[root@nagiosxi mail]# service crond restart
Stopping crond:                                            [  OK  ]
Starting crond:                                            [  OK  ]
[root@nagiosxi mail]# service crond status
crond (pid  1943) is running...
[root@nagiosxi mail]# tail -50 /var/log/cron
Sep  7 08:26:02 nagiosxi crond[31236]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:26:02 nagiosxi crond[31238]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  7 08:26:04 nagiosxi crond[31259]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:27:01 nagiosxi crond[32125]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  7 08:27:01 nagiosxi crond[32128]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  7 08:27:01 nagiosxi crond[32131]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  7 08:27:01 nagiosxi crond[32144]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:27:02 nagiosxi crond[32150]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  7 08:27:02 nagiosxi crond[32152]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  7 08:27:02 nagiosxi crond[32159]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  7 08:27:03 nagiosxi crond[32164]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32663]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32666]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32669]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32672]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32676]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32679]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32681]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:28:01 nagiosxi crond[32685]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[818]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[821]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[823]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[831]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[833]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[836]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  7 08:29:01 nagiosxi crond[850]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  7 08:29:05 nagiosxi crond[871]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:30:01 nagiosxi crond[1330]: (nobody) CMD (/usr/sbin/vnstat.cron)
Sep  7 08:30:01 nagiosxi crond[1334]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  7 08:30:01 nagiosxi crond[1337]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1)
Sep  7 08:30:01 nagiosxi crond[1346]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1)
Sep  7 08:30:02 nagiosxi crond[1369]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  7 08:30:02 nagiosxi crond[1372]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:30:02 nagiosxi crond[1375]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:30:02 nagiosxi crond[1378]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Sep  7 08:30:03 nagiosxi crond[1392]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  7 08:30:03 nagiosxi crond[1396]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  7 08:30:04 nagiosxi crond[1407]: (root) CMD (/usr/lib/sa/sa1 1 1)
Sep  7 08:30:07 nagiosxi crond[1458]: (root) CMD (/usr/bin/mrtg /etc/mrtg/mrtg.cfg)
Sep  7 08:30:07 nagiosxi crond[1381]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  7 08:30:57 nagiosxi crond[1943]: (CRON) STARTUP (V5.0)
Sep  7 08:30:58 nagiosxi crond[1943]: (CRON) @reboot jobs will be run at computer's startup. ()
Sep  7 08:31:02 nagiosxi crond[2006]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep  7 08:31:03 nagiosxi crond[2024]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep  7 08:31:03 nagiosxi crond[2028]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep  7 08:31:03 nagiosxi crond[2030]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep  7 08:31:03 nagiosxi crond[2041]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep  7 08:31:03 nagiosxi crond[2046]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep  7 08:31:04 nagiosxi crond[2058]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep  7 08:31:04 nagiosxi crond[2062]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
[root@nagiosxi mail]# tail -50 /var/log/messages
Sep  7 08:17:34 nagiosxi nagios: SERVICE ALERT: ws-xa15.cg.ahp;Uptime;OK;SOFT;2;OK - System Uptime is  05:15:00 (315min).
Sep  7 08:20:00 nagiosxi nagios: SERVICE ALERT: ws-xa04.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.14 might just be really busy, it might not even be running Windows.
Sep  7 08:21:01 nagiosxi nagios: SERVICE ALERT: ws-xa04.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 376 sec) - Average CPU Utilisation 5.64%
Sep  7 08:21:16 nagiosxi nagios: SERVICE ALERT: ws-xa03.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.11 might just be really busy, it might not even be running Windows.
Sep  7 08:21:35 nagiosxi nagios: wproc: CHECK job 326730 from worker Core Worker 15555 died by signal 14 after 26.10 seconds
Sep  7 08:21:35 nagiosxi nagios: wproc:   host=W2K8-APPLI03-PP.cg.ahp; service=Uptime;
Sep  7 08:21:35 nagiosxi nagios: wproc:   early_timeout=0; exited_ok=1; wait_status=14; error_code=0;
Sep  7 08:21:35 nagiosxi nagios: wproc:   stdout line 01: UNKNOWN - The WMI query had problems. The target host (172.16.9.8) might not be reachable over the network. Is it down? Looks like a valid name/IP Address. 172.16.9.8 is probably not even pingable. Wmic error text on the next line.
Sep  7 08:21:35 nagiosxi nagios: wproc:   stdout line 02: [librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c000023d) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
Sep  7 08:21:35 nagiosxi nagios: wproc:   stdout line 03: [librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c000023d) in dcerpc_pipe_connect_b_recv
Sep  7 08:21:35 nagiosxi nagios: wproc:   stdout line 04: [wmi/wmic.c:196:main()] ERROR: Login to remote object.
Sep  7 08:21:35 nagiosxi nagios: wproc:   stdout line 05: NTSTATUS: NT_STATUS_HOST_UNREACHABLE - NT_STATUS_HOST_UNREACHABLE
Sep  7 08:21:46 nagiosxi nagios: SERVICE ALERT: ws-xa08.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.16 might just be really busy, it might not even be running Windows.
Sep  7 08:21:46 nagiosxi nagios: SERVICE ALERT: ws-xa08.cg.ahp;Uptime;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.16 might just be really busy, it might not even be running Windows.
Sep  7 08:22:01 nagiosxi nagios: SERVICE ALERT: ws-xa03.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 363 sec) - Average CPU Utilisation 4.35%
Sep  7 08:22:09 nagiosxi nagios: SERVICE ALERT: ws-xa08.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 393 sec) - Average CPU Utilisation 3.70%
Sep  7 08:23:13 nagiosxi nagios: SERVICE ALERT: ws-xa08.cg.ahp;Uptime;OK;SOFT;2;OK - System Uptime is  05:20:56 (320min).
Sep  7 08:23:22 nagiosxi nagios: SERVICE ALERT: WS-APP32.cg.ahp;Services;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.11.14 might just be really busy, it might not even be running Windows.
Sep  7 08:23:22 nagiosxi nagios: SERVICE ALERT: W2K-IMP01.cg.ahp;Drives : Disk Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.5.3 might just be really busy, it might not even be running Windows.
Sep  7 08:24:01 nagiosxi nagios: SERVICE ALERT: W2K-IMP01.cg.ahp;Drives : Disk Usage;OK;SOFT;2;OK - C: Total=30.00GB, Used=16.64GB (55.5%), Free=13.36GB (44.5%)
Sep  7 08:24:02 nagiosxi nagios: SERVICE ALERT: WS-APP32.cg.ahp;Services;OK;SOFT;2;OK - Found 36 Services(s), 36 OK and 0 with problems (14 excluded).
Sep  7 08:26:11 nagiosxi nagios: SERVICE ALERT: IFM_IPMR_1;Ping;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds
Sep  7 08:26:53 nagiosxi nagios: SERVICE ALERT: W2K8-APPLI22.cg.ahp;Memory Usage;WARNING;SOFT;1;WARNING - [Triggered by _MemUsed%>80] - Physical Memory: Total: 4GB - Used: 3.22GB (81%) - Free: 798.094MB (19%)
Sep  7 08:27:06 nagiosxi nagios: SERVICE ALERT: IFM_IPMR_1;Ping;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 1.64 ms
Sep  7 08:27:35 nagiosxi nagios: SERVICE NOTIFICATION: stg-tcellier;ws-xasqlt.cg.ahp;Drives : Disk Usage;WARNING;xi_service_notification_handler;OK - C: Total=39.90GB, Used=28.76GB (72.1%), Free=11.14GB (27.9%)     WARNING - [Triggered by _Used%>85] - E: Total=250.00GB, Used=214.56GB (85.8%), Free=35.43GB (14.2%)
Sep  7 08:27:35 nagiosxi nagios: SERVICE NOTIFICATION: nagiosexploit;ws-xasqlt.cg.ahp;Drives : Disk Usage;WARNING;xi_service_notification_handler;OK - C: Total=39.90GB, Used=28.76GB (72.1%), Free=11.14GB (27.9%)     WARNING - [Triggered by _Used%>85] - E: Total=250.00GB, Used=214.56GB (85.8%), Free=35.43GB (14.2%)
Sep  7 08:28:15 nagiosxi nagios: SERVICE ALERT: W2K8-APPLI22.cg.ahp;Memory Usage;WARNING;SOFT;2;WARNING - [Triggered by _MemUsed%>80] - Physical Memory: Total: 4GB - Used: 3.224GB (81%) - Free: 793.883MB (19%)
Sep  7 08:28:36 nagiosxi nagios: SERVICE ALERT: WS-WSUS.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.10.1 might just be really busy, it might not even be running Windows.
Sep  7 08:29:00 nagiosxi nagios: SERVICE ALERT: ws-xa12.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.21 might just be really busy, it might not even be running Windows.
Sep  7 08:29:15 nagiosxi nagios: SERVICE ALERT: W2K8-APPLI22.cg.ahp;Memory Usage;WARNING;HARD;3;WARNING - [Triggered by _MemUsed%>80] - Physical Memory: Total: 4GB - Used: 3.224GB (81%) - Free: 793.77MB (19%)
Sep  7 08:29:15 nagiosxi nagios: SERVICE NOTIFICATION: stg-tcellier;W2K8-APPLI22.cg.ahp;Memory Usage;WARNING;xi_service_notification_handler;WARNING - [Triggered by _MemUsed%>80] - Physical Memory: Total: 4GB - Used: 3.224GB (81%) - Free: 793.77MB (19%)
Sep  7 08:29:15 nagiosxi nagios: SERVICE NOTIFICATION: nagiosexploit;W2K8-APPLI22.cg.ahp;Memory Usage;WARNING;xi_service_notification_handler;WARNING - [Triggered by _MemUsed%>80] - Physical Memory: Total: 4GB - Used: 3.224GB (81%) - Free: 793.77MB (19%)
Sep  7 08:29:18 nagiosxi nagios: SERVICE ALERT: WS-WSUS.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 365 sec) - Average CPU Utilisation 0.33%
Sep  7 08:29:24 nagiosxi nagios: SERVICE ALERT: ws-xa14.cg.ahp;Uptime;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.24 might just be really busy, it might not even be running Windows.
Sep  7 08:29:42 nagiosxi nagios: SERVICE ALERT: ws-xa12.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 356 sec) - Average CPU Utilisation 5.98%
Sep  7 08:29:49 nagiosxi nagios: SERVICE ALERT: ws-xa10.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.19 might just be really busy, it might not even be running Windows.
Sep  7 08:29:55 nagiosxi nagios: SERVICE ALERT: IFM_IPMR_1;SIP Protocol;CRITICAL;SOFT;1;TCP CRITICAL - 2.201 second response time on 172.28.1.10 port 5060
Sep  7 08:30:10 nagiosxi nagios: SERVICE ALERT: ws-xa14.cg.ahp;Uptime;OK;SOFT;2;OK - System Uptime is  05:27:34 (327min).
Sep  7 08:30:13 nagiosxi nagios: SERVICE ALERT: ws-xa15.cg.ahp;Memory Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.26 might just be really busy, it might not even be running Windows.
Sep  7 08:30:18 nagiosxi nagios: SERVICE ALERT: ws-xa02.cg.ahp;Uptime;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.17 might just be really busy, it might not even be running Windows.
Sep  7 08:30:36 nagiosxi nagios: SERVICE ALERT: ws-xa10.cg.ahp;CPU Usage;OK;SOFT;2;OK (Sample Period 357 sec) - Average CPU Utilisation 8.54%
Sep  7 08:30:44 nagiosxi nagios: SERVICE ALERT: ws-xa15.cg.ahp;Memory Usage;OK;SOFT;2;OK - Physical Memory: Total: 18GB - Used: 4.369GB (24%) - Free: 13.63GB (76%)
Sep  7 08:30:46 nagiosxi nagios: SERVICE ALERT: IFM_IPMR_1;SIP Protocol;OK;SOFT;2;TCP OK - 0.000 second response time on 172.28.1.10 port 5060
Sep  7 08:30:59 nagiosxi nagios: SERVICE ALERT: ws-xa16.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.23 might just be really busy, it might not even be running Windows.
Sep  7 08:31:01 nagiosxi nagios: SERVICE ALERT: ws-xa06.cg.ahp;CPU Usage;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 172.16.20.12 might just be really busy, it might not even be running Windows.
Sep  7 08:31:18 nagiosxi nagios: wproc: CHECK job 327125 from worker Core Worker 15557 died by signal 14 after 23.29 seconds
Sep  7 08:31:18 nagiosxi nagios: wproc:   host=WS-APP32WEB-PP.cg.ahp; service=Uptime;
Sep  7 08:31:18 nagiosxi nagios: wproc:   early_timeout=0; exited_ok=1; wait_status=14; error_code=0;
Sep  7 08:31:18 nagiosxi nagios: wproc:   stdout line 01: OK - System Uptime is 2 days 06:28:43 (3268min).|'Uptime Minutes'=3268min;
Sep  7 08:31:18 nagiosxi nagios: SERVICE ALERT: WS-APP32WEB-PP.cg.ahp;Uptime;UNKNOWN;SOFT;1;OK - System Uptime is 2 days 06:28:43 (3268min).
[root@nagiosxi mail]# ps -ef --cols=300
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Jul19 ?        00:00:05 init [3]                        
root         2     1  0 Jul19 ?        00:00:24 [migration/0]
root         3     1  0 Jul19 ?        00:00:00 [ksoftirqd/0]
root         4     1  0 Jul19 ?        00:00:48 [migration/1]
root         5     1  0 Jul19 ?        00:00:00 [ksoftirqd/1]
root         6     1  0 Jul19 ?        00:00:25 [migration/2]
root         7     1  0 Jul19 ?        00:00:00 [ksoftirqd/2]
root         8     1  0 Jul19 ?        00:00:50 [migration/3]
root         9     1  0 Jul19 ?        00:00:02 [ksoftirqd/3]
root        10     1  0 Jul19 ?        00:00:05 [events/0]
root        11     1  0 Jul19 ?        00:00:01 [events/1]
root        12     1  0 Jul19 ?        00:00:01 [events/2]
root        13     1  0 Jul19 ?        00:00:01 [events/3]
root        14     1  0 Jul19 ?        00:00:00 [khelper]
root        15     1  0 Jul19 ?        00:00:00 [kthread]
root        21    15  0 Jul19 ?        00:00:02 [kblockd/0]
root        22    15  0 Jul19 ?        00:00:02 [kblockd/1]
root        23    15  0 Jul19 ?        00:00:04 [kblockd/2]
root        24    15  0 Jul19 ?        00:00:08 [kblockd/3]
root        25    15  0 Jul19 ?        00:00:00 [kacpid]
root       186    15  0 Jul19 ?        00:00:00 [cqueue/0]
root       187    15  0 Jul19 ?        00:00:00 [cqueue/1]
root       188    15  0 Jul19 ?        00:00:00 [cqueue/2]
root       189    15  0 Jul19 ?        00:00:00 [cqueue/3]
root       192    15  0 Jul19 ?        00:00:00 [khubd]
root       194    15  0 Jul19 ?        00:00:00 [kseriod]
root       275    15  0 Jul19 ?        00:00:00 [khungtaskd]
root       276    15  0 Jul19 ?        00:01:32 [pdflush]
root       278    15  0 Jul19 ?        00:00:04 [kswapd0]
root       279    15  0 Jul19 ?        00:00:00 [aio/0]
root       280    15  0 Jul19 ?        00:00:00 [aio/1]
root       281    15  0 Jul19 ?        00:00:00 [aio/2]
root       282    15  0 Jul19 ?        00:00:00 [aio/3]
root       501    15  0 Jul19 ?        00:00:00 [kpsmoused]
root       569    15  0 Jul19 ?        00:00:00 [mpt_poll_0]
root       570    15  0 Jul19 ?        00:00:00 [mpt/0]
root       571    15  0 Jul19 ?        00:00:00 [scsi_eh_0]
root       577    15  0 Jul19 ?        00:00:00 [ata/0]
root       578    15  0 Jul19 ?        00:00:00 [ata/1]
root       579    15  0 Jul19 ?        00:00:00 [ata/2]
root       580    15  0 Jul19 ?        00:00:00 [ata/3]
root       581    15  0 Jul19 ?        00:00:00 [ata_aux]
root       592    15  0 Jul19 ?        00:00:00 [kstriped]
root       613    15  0 Jul19 ?        00:00:00 [ksnapd]
root       651    15  0 Jul19 ?        00:13:36 [kjournald]
root       676    15  0 Jul19 ?        00:00:25 [kauditd]
root       709     1  0 Jul19 ?        00:00:00 /sbin/udevd -d
root      1943     1  0 08:30 ?        00:00:00 crond
apache    1951  4171  0 08:30 ?        00:00:00 /usr/sbin/httpd
root      1958    15  0 Jul19 ?        00:00:00 [kmpathd/0]
root      1959    15  0 Jul19 ?        00:00:00 [kmpathd/1]
root      1960    15  0 Jul19 ?        00:00:00 [kmpathd/2]
root      1962    15  0 Jul19 ?        00:00:00 [kmpathd/3]
root      1963    15  0 Jul19 ?        00:00:00 [kmpath_handlerd]
apache    1971  4171  0 08:31 ?        00:00:00 /usr/sbin/httpd
apache    1972  4171  0 08:31 ?        00:00:00 /usr/sbin/httpd
root      1983    15  0 Jul19 ?        00:00:00 [kjournald]
postgres  2019 31601  9 08:31 ?        00:00:02 postgres: nagiosxi nagiosxi 127.0.0.1(34054) UPDATE waiting
postgres  2069 31601 10 08:31 ?        00:00:02 postgres: nagiosxi nagiosxi 127.0.0.1(34085) UPDATE waiting
postgres  2097 31601 11 08:31 ?        00:00:02 postgres: nagiosxi nagiosxi 127.0.0.1(34102) UPDATE waiting
nagios    2148 15562  2 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.20.10 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -w 80 -c 90
nagios    2203  2148  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.20.10' 'select PercentProcessorTime,Timestamp_Sys100NS from Win32_PerfRawData_PerfOS_Processor where Name="_Total"' 2>&1
nagios    2204  2203  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.20.10 select PercentProcessorTime,Timestamp_Sys100NS from Win32_PerfRawData_PerfOS_Processor where Name="_Total"
apache    2256  4171  1 08:31 ?        00:00:00 /usr/sbin/httpd
nagios    2267 15557  3 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.45.134 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2274 15558  0 08:31 ?        00:00:00 [check_icmp] <defunct>
nagios    2275 15558  1 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.20.25 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2276 15558  2 08:31 ?        00:00:00 [php] <defunct>
nagios    2277 15558  0 08:31 ?        00:00:00 [check_icmp] <defunct>
nagios    2278 15558  1 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.11.1 -u domcompta/svc_riverbed -p dsisvc -m checkuptime
nagios    2279 15558  0 08:31 ?        00:00:00 [check_http] <defunct>
nagios    2280 15558  0 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.60.7 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2282 15562  3 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.63.7 -u domcompta/svc_riverbed -p dsisvc -m checkmem -w 80 -c 90
nagios    2287 15558  0 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.10.9 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -w 80 -c 90
nagios    2294  2267  0 08:31 ?        00:00:00 [sh] <defunct>
nagios    2297  2282  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//192.168.63.7' 'Select Name,FreePhysicalMemory,TotalVisibleMemorySize from Win32_OperatingSystem' 2>&1
nagios    2300  2297  0 08:31 ?        00:00:00 [wmic] <defunct>
nagios    2306 15558  2 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.20.14 -u domcompta/svc_riverbed -p dsisvc -m checkservice -a Auto -w 0 -c 0 -o Journaux et alertes de performance|Protection logicielle|HP AlertService|ROM|Citrix vDisk Update Servi
nagios    2310 15558  0 08:31 ?        00:00:00 /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php --handler-type=service --host=IFM_IPMR_1 --service=SIP Protocol --hostaddress=172.28.1.10 --hoststate=UP --hoststateid=0 --hosteventid=114974 --hostproblemid=0 --servicestate=OK --ser
nagios    2313 15557  5 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.20.15 -u domcompta/svc_riverbed -p dsisvc -m checkuptime
nagios    2326  2313  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.20.15' 'Select SystemUpTime,Frequency_Sys100NS,Timestamp_Object from Win32_PerfRawData_PerfOS_System' 2>&1
nagios    2327  2326  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.20.15 Select SystemUpTime,Frequency_Sys100NS,Timestamp_Object from Win32_PerfRawData_PerfOS_System
nagios    2328 15558  2 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.20.17 -u domcompta/svc_riverbed -p dsisvc -m checkuptime
nagios    2336 15558  0 08:31 ?        00:00:00 [check_icmp] <defunct>
nagios    2337 15558  6 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.60.6 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -w 80 -c 90
nagios    2338 15558  2 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.8.15 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
postgres  2347 31601 26 08:31 ?        00:00:00 postgres: nagiosxi nagiosxi 127.0.0.1(34291) SELECT
nagios    2356 15556  9 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.5.8 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2358 15558  0 08:31 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    2359 15558  6 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.1.8 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2360 15558  5 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.5.2 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -w 80 -c 90
nagios    2361 15558  4 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.60.6 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|Q:|H:|I:|L:|N: -w 85 -c 92
nagios    2362 15558  0 08:31 ?        00:00:00 /usr/local/nagios/libexec/check_icmp -H 192.168.1.5 -w 3000.0 80  -c 5000.0 100  -p 5
nagios    2363 15558  9 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.10.2 -u domcompta/svc_riverbed -p dsisvc -m checkservice -a Auto -w 0 -c 0 -o Journaux et alertes de performance|Protection logicielle|HP AlertService|ROM|Citrix vDisk Update Servic
nagios    2364 15558  0 08:31 ?        00:00:00 /usr/local/nagios/libexec/check_icmp -H 192.168.68.1 -w 3000.0 80  -c 5000.0 100  -p 5
nagios    2368 15557 13 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 192.168.45.8 -u domcompta/svc_riverbed -p dsisvc -m checkuptime
nagios    2369  2356  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.5.8' 'Select DeviceID,freespace,Size,VolumeName from Win32_LogicalDisk where DriveType=3' 2>&1
nagios    2370  2369  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.5.8 Select DeviceID,freespace,Size,VolumeName from Win32_LogicalDisk where DriveType=3
nagios    2371 15555 14 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.2.13 -u domcompta/svc_riverbed -p dsisvc -m checkmem -w 80 -c 90
nagios    2373 15560 15 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.104.119 -u domcompta/svc_riverbed -p dsisvc -m checkmem -w 80 -c 90
nagios    2374  2371  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.2.13' 'Select Name,FreePhysicalMemory,TotalVisibleMemorySize from Win32_OperatingSystem' 2>&1
nagios    2375  2374  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.2.13 Select Name,FreePhysicalMemory,TotalVisibleMemorySize from Win32_OperatingSystem
nagios    2378 15558  4 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.10.6 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2379  2373  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.104.119' 'Select Name,FreePhysicalMemory,TotalVisibleMemorySize from Win32_OperatingSystem' 2>&1
nagios    2380 15558  2 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.10.9 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
nagios    2382  2368  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//192.168.45.8' 'Select SystemUpTime,Frequency_Sys100NS,Timestamp_Object from Win32_PerfRawData_PerfOS_System' 2>&1
nagios    2383  2382  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //192.168.45.8 Select SystemUpTime,Frequency_Sys100NS,Timestamp_Object from Win32_PerfRawData_PerfOS_System
nagios    2386  2379  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.104.119 Select Name,FreePhysicalMemory,TotalVisibleMemorySize from Win32_OperatingSystem
nagios    2387 15556 30 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.12.1 -u domcompta/svc_riverbed -p dsisvc -m checkservice -a Auto -w 0 -c 0 -o Journaux et alertes de performance|Protection logicielle|HP AlertService|ROM|Citrix vDisk Update Servic
nagios    2389 15558  1 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.12.4 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -w 80 -c 90
nagios    2390 15558  0 08:31 ?        00:00:00 [check_icmp] <defunct>
nagios    2392 15558  0 08:31 ?        00:00:00 /usr/local/nagios/libexec/check_icmp -H 192.168.106.1 -w 3000.0 80  -c 5000.0 100  -p 5
nagios    2393 15558  0 08:31 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    2397  2337  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//192.168.60.6' 'select PercentProcessorTime,Timestamp_Sys100NS from Win32_PerfRawData_PerfOS_Processor where Name="_Total"' 2>&1
nagios    2398  2397  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //192.168.60.6 select PercentProcessorTime,Timestamp_Sys100NS from Win32_PerfRawData_PerfOS_Processor where Name="_Total"
nagios    2399  2387  0 08:31 ?        00:00:00 sh -c /usr/bin/wmic '-U' 'domcompta/svc_riverbed%dsisvc' '--namespace' 'root/cimv2' '//172.16.12.1' 'select name, displayname, Started, StartMode, State, Status FROM Win32_Service where StartMode="auto"' 2>&1
nagios    2400  2399  0 08:31 ?        00:00:00 /usr/bin/wmic -U domcompta/svc_riverbed%dsisvc --namespace root/cimv2 //172.16.12.1 select name, displayname, Started, StartMode, State, Status FROM Win32_Service where StartMode="auto"
nagios    2401 15557  0 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.1.13 -u domcompta/svc_riverbed -p dsisvc -m checkmem -w 80 -c 90
nagios    2402 15555  0 08:31 ?        00:00:00 /usr/bin/perl -w /usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.2.13 -u domcompta/svc_riverbed -p dsisvc -m checkdrivesize -a C:|D:|E:|Q:|H:|I:|L:|M:|N: -w 85 -c 92
root      2405 32328  0 08:31 pts/0    00:00:00 ps -ef --cols=300
root      2425    15  0 Jul19 ?        00:00:00 [vmmemctl]
root      2592     1  0 Jul19 ?        00:07:10 /usr/sbin/vmtoolsd
root      2643     1  0 Jul19 ?        00:00:00 /usr/lib/vmware-vgauth/VGAuthService -s
root      2786    15  0 Jul19 ?        00:00:00 [iscsi_eh]
root      2850    15  0 Jul19 ?        00:00:00 [cnic_wq]
root      2857    15  0 Jul19 ?        00:00:00 [bnx2i_thread/0]
root      2858    15  0 Jul19 ?        00:00:00 [bnx2i_thread/1]
root      2859    15  0 Jul19 ?        00:00:00 [bnx2i_thread/2]
root      2860    15  0 Jul19 ?        00:00:00 [bnx2i_thread/3]
root      2876    15  0 Jul19 ?        00:00:09 [ib_addr]
root      2896    15  0 Jul19 ?        00:00:00 [ib_mcast]
root      2897    15  0 Jul19 ?        00:00:00 [ib_inform]
root      2899    15  0 Jul19 ?        00:00:00 [local_sa]
root      2907    15  0 Jul19 ?        00:00:00 [iw_cm_wq]
root      2913    15  0 Jul19 ?        00:00:00 [ib_cm/0]
root      2914    15  0 Jul19 ?        00:00:00 [ib_cm/1]
root      2915    15  0 Jul19 ?        00:00:00 [ib_cm/2]
root      2916    15  0 Jul19 ?        00:00:00 [ib_cm/3]
root      2922    15  0 Jul19 ?        00:00:00 [rdma_cm]
root      2941     1  0 Jul19 ?        00:00:00 iscsiuio
root      2946     1  0 Jul19 ?        00:00:01 iscsid
root      2947     1  0 Jul19 ?        00:00:02 iscsid
root      3274     1  0 Jul19 ?        00:02:27 auditd
root      3276  3274  0 Jul19 ?        00:01:11 /sbin/audispd
root      3307     1  0 Jul19 ?        00:01:13 syslogd -m 0
root      3310     1  0 Jul19 ?        00:00:00 klogd -x
root      3324     1  0 Jul19 ?        00:00:31 irqbalance
root      3371    15  0 Jul19 ?        00:00:00 [rpciod/0]
root      3372    15  0 Jul19 ?        00:00:00 [rpciod/1]
root      3373    15  0 Jul19 ?        00:00:00 [rpciod/2]
root      3374    15  0 Jul19 ?        00:00:00 [rpciod/3]
root      3420     1  0 Jul19 ?        00:00:00 rpc.idmapd
dbus      3450     1  0 Jul19 ?        00:00:15 dbus-daemon --system
root      3493     1  0 Jul19 ?        00:00:02 pcscd
root      3507     1  0 Jul19 ?        00:00:00 /usr/sbin/acpid
68        3523     1  0 Jul19 ?        00:00:14 hald
root      3524  3523  0 Jul19 ?        00:00:00 hald-runner
68        3532  3524  0 Jul19 ?        00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
68        3539  3524  0 Jul19 ?        00:00:00 hald-addon-keyboard: listening on /dev/input/event0
root      3548  3524  0 Jul19 ?        00:19:25 hald-addon-storage: polling /dev/hdc
root      3586     1  0 Jul19 ?        00:00:00 /usr/bin/hidd --server
root      3632     1  0 Jul19 ?        00:00:02 automount
root      3707     1  0 Jul19 ?        00:00:00 /usr/bin/perl /usr/local/sbin/snmptt --daemon
root      3708  3707  0 Jul19 ?        00:00:01 /usr/bin/perl /usr/local/sbin/snmptt --daemon
root      3721     1  0 Jul19 ?        00:00:01 /usr/sbin/snmptrapd -Lsd -On -p /var/run/snmptrapd.pid
root      3737     1  0 Jul19 ?        00:00:00 /usr/sbin/sshd
root      3750     1  0 Jul19 ?        00:00:00 cupsd
root      3766     1  0 Jul19 ?        00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp       3782     1  0 Jul19 ?        00:00:02 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root      4157     1  0 Jul19 ?        00:00:00 gpm -m /dev/input/mice -t exps2
root      4171     1  0 Jul19 ?        00:00:07 /usr/sbin/httpd
xfs       4226     1  0 Jul19 ?        00:00:00 xfs -droppriv -daemon
root      4239     1  0 Jul19 ?        00:00:00 smbd -D
root      4242     1  0 Jul19 ?        00:00:00 nmbd -D
root      4250  4239  0 Jul19 ?        00:00:00 smbd -D
nagios    4252     1  0 Jul19 ?        00:06:17 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
root      4276     1  0 Jul19 ?        00:00:00 /usr/sbin/atd
apache    4282  4171  0 07:42 ?        00:00:15 /usr/sbin/httpd
avahi     4321     1  0 Jul19 ?        00:00:01 avahi-daemon: running [nagiosxi.local]
avahi     4322  4321  0 Jul19 ?        00:00:00 avahi-daemon: chroot helper
ajaxterm  4344     1  0 Jul19 ?        00:00:35 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root      4376     1  0 Jul19 ?        00:01:22 /usr/bin/python -tt /usr/sbin/yum-updatesd
root      4378     1  0 Jul19 ?        00:00:07 /usr/libexec/gam_server
postgres  4395 31601  4 07:43 ?        00:01:56 postgres: nagiosxi nagiosxi 127.0.0.1(39813) UPDATE waiting
root      4424     1  0 Jul19 ?        00:00:00 /usr/sbin/smartd -q never
root      4427     1  0 Jul19 tty1     00:00:00 /sbin/mingetty tty1
root      4428     1  0 Jul19 tty2     00:00:00 /sbin/mingetty tty2
root      4429     1  0 Jul19 tty3     00:00:00 /sbin/mingetty tty3
root      4432     1  0 Jul19 tty4     00:00:00 /sbin/mingetty tty4
root      4434     1  0 Jul19 tty5     00:00:00 /sbin/mingetty tty5
root      4435     1  0 Jul19 tty6     00:00:00 /sbin/mingetty tty6
apache    7699  4171  0 07:48 ?        00:00:10 /usr/sbin/httpd
postgres  7771 31601  3 07:48 ?        00:01:25 postgres: nagiosxi nagiosxi 127.0.0.1(42441) SELECT
apache    7777  4171  0 07:48 ?        00:00:12 /usr/sbin/httpd
apache    7797  4171  0 07:48 ?        00:00:11 /usr/sbin/httpd
postgres  7879 31601  3 07:48 ?        00:01:26 postgres: nagiosxi nagiosxi 127.0.0.1(42529) idle
postgres  7945 31601  3 07:49 ?        00:01:28 postgres: nagiosxi nagiosxi 127.0.0.1(42562) idle
apache    8423  4171  0 07:49 ?        00:00:11 /usr/sbin/httpd
postgres  8499 31601  3 07:49 ?        00:01:24 postgres: nagiosxi nagiosxi 127.0.0.1(43015) idle
apache    8796  4171  0 07:50 ?        00:00:11 /usr/sbin/httpd
postgres  8847 31601  3 07:50 ?        00:01:26 postgres: nagiosxi nagiosxi 127.0.0.1(43254) UPDATE waiting
apache    9239  4171  0 07:50 ?        00:00:09 /usr/sbin/httpd
postgres  9615 31601  3 07:51 ?        00:01:15 postgres: nagiosxi nagiosxi 127.0.0.1(43726) idle
apache    9691  4171  0 07:51 ?        00:00:09 /usr/sbin/httpd
postgres  9792 31601  3 07:51 ?        00:01:20 postgres: nagiosxi nagiosxi 127.0.0.1(43961) UPDATE
apache   10512  4171  0 07:53 ?        00:00:09 /usr/sbin/httpd
postgres 10695 31601  2 07:53 ?        00:01:03 postgres: nagiosxi nagiosxi 127.0.0.1(44611) UPDATE waiting
apache   13125  4171  0 07:04 ?        00:00:34 /usr/sbin/httpd
apache   13296  4171  0 07:57 ?        00:00:08 /usr/sbin/httpd
postgres 13333 31601  3 07:57 ?        00:01:03 postgres: nagiosxi nagiosxi 127.0.0.1(46612) idle
apache   13362  4171  0 07:57 ?        00:00:08 /usr/sbin/httpd
postgres 13451 31601  3 07:57 ?        00:01:03 postgres: nagiosxi nagiosxi 127.0.0.1(46689) idle
postgres 13454 31601  5 07:05 ?        00:04:25 postgres: nagiosxi nagiosxi 127.0.0.1(50453) SELECT
root     15234     1  0 Aug30 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
mysql    15428 15234  1 Aug30 ?        02:55:20 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
nagios   15494     1  0 Aug30 ?        00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   15554     1  0 Aug30 ?        00:42:42 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   15555 15554  5 Aug30 ?        11:05:41 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15556 15554  6 Aug30 ?        11:42:07 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15557 15554  5 Aug30 ?        11:21:38 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15558 15554  5 Aug30 ?        10:52:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15560 15554  5 Aug30 ?        11:25:44 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15562 15554  5 Aug30 ?        11:24:09 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   15563 15494  0 Aug30 ?        00:02:11 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   15564 15563  0 Aug30 ?        01:25:28 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   15569 15554  0 Aug30 ?        00:00:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
apache   16327  4171  0 08:02 ?        00:00:06 /usr/sbin/httpd
apache   16364  4171  0 08:02 ?        00:00:07 /usr/sbin/httpd
postgres 16413 31601  3 08:02 ?        00:00:53 postgres: nagiosxi nagiosxi 127.0.0.1(48874) idle
postgres 16449 31601  3 08:02 ?        00:00:56 postgres: nagiosxi nagiosxi 127.0.0.1(48906) SELECT
apache   16599  4171  0 08:02 ?        00:00:07 /usr/sbin/httpd
postgres 16794 31601  3 08:02 ?        00:01:01 postgres: nagiosxi nagiosxi 127.0.0.1(49153) UPDATE waiting
apache   19126  4171  0 08:06 ?        00:00:05 /usr/sbin/httpd
postgres 19560 31601  2 08:06 ?        00:00:43 postgres: nagiosxi nagiosxi 127.0.0.1(51089) UPDATE waiting
apache   22137  4171  0 04:43 ?        00:01:33 /usr/sbin/httpd
postgres 22182 31601  4 04:43 ?        00:11:05 postgres: nagiosxi nagiosxi 127.0.0.1(44624) UPDATE waiting
apache   22632  4171  0 08:11 ?        00:00:04 /usr/sbin/httpd
apache   22648  4171  0 08:11 ?        00:00:05 /usr/sbin/httpd
apache   22649  4171  0 08:11 ?        00:00:05 /usr/sbin/httpd
postgres 22654 31601  3 08:11 ?        00:00:39 postgres: nagiosxi nagiosxi 127.0.0.1(53422) idle
apache   22674  4171  0 08:11 ?        00:00:05 /usr/sbin/httpd
postgres 22684 31601  3 08:11 ?        00:00:38 postgres: nagiosxi nagiosxi 127.0.0.1(53442) UPDATE waiting
postgres 22750 31601  3 08:11 ?        00:00:40 postgres: nagiosxi nagiosxi 127.0.0.1(53492) idle
postgres 22880 31601  3 08:12 ?        00:00:45 postgres: nagiosxi nagiosxi 127.0.0.1(53549) UPDATE waiting
apache   22990  4171  0 08:12 ?        00:00:05 /usr/sbin/httpd
apache   23022  4171  0 08:12 ?        00:00:05 /usr/sbin/httpd
apache   23057  4171  0 07:20 ?        00:00:25 /usr/sbin/httpd
apache   23058  4171  0 07:20 ?        00:00:25 /usr/sbin/httpd
postgres 23068 31601  3 08:12 ?        00:00:45 postgres: nagiosxi nagiosxi 127.0.0.1(53710) UPDATE
postgres 23082 31601  3 08:12 ?        00:00:38 postgres: nagiosxi nagiosxi 127.0.0.1(53726) UPDATE waiting
postgres 23214 31601  4 07:20 ?        00:03:20 postgres: nagiosxi nagiosxi 127.0.0.1(57603) UPDATE waiting
postgres 23217 31601  4 07:20 ?        00:03:16 postgres: nagiosxi nagiosxi 127.0.0.1(57607) UPDATE waiting
root     24685    15  0 Jul22 ?        00:00:00 [pdflush]
apache   25447  4171  0 Sep06 ?        00:05:29 /usr/sbin/httpd
postgres 25692 31601  4 Sep06 ?        00:37:59 postgres: nagiosxi nagiosxi 127.0.0.1(45668) UPDATE waiting
apache   26172  4171  0 07:25 ?        00:00:22 /usr/sbin/httpd
postgres 26325 31601  4 07:25 ?        00:02:58 postgres: nagiosxi nagiosxi 127.0.0.1(60044) idle
apache   26686  4171  0 08:18 ?        00:00:04 /usr/sbin/httpd
apache   26687  4171  0 08:18 ?        00:00:03 /usr/sbin/httpd
postgres 26780 31601  4 08:18 ?        00:00:36 postgres: nagiosxi nagiosxi 127.0.0.1(56512) UPDATE waiting
postgres 26789 31601  4 08:18 ?        00:00:31 postgres: nagiosxi nagiosxi 127.0.0.1(56518) UPDATE waiting
apache   27789  4171  0 08:20 ?        00:00:03 /usr/sbin/httpd
postgres 27818 31601  3 08:20 ?        00:00:25 postgres: nagiosxi nagiosxi 127.0.0.1(57317) SELECT
apache   27997  4171  0 08:20 ?        00:00:02 /usr/sbin/httpd
apache   28026  4171  0 07:28 ?        00:00:22 /usr/sbin/httpd
postgres 28103 31601  3 08:20 ?        00:00:22 postgres: nagiosxi nagiosxi 127.0.0.1(57509) UPDATE waiting
postgres 28331 31601  4 07:28 ?        00:02:51 postgres: nagiosxi nagiosxi 127.0.0.1(33338) UPDATE
apache   29174  4171  0 07:30 ?        00:00:20 /usr/sbin/httpd
postgres 29298 31601  4 07:30 ?        00:02:37 postgres: nagiosxi nagiosxi 127.0.0.1(34083) UPDATE
apache   31134  4171  0 08:25 ?        00:00:01 /usr/sbin/httpd
apache   31140  4171  0 08:25 ?        00:00:01 /usr/sbin/httpd
apache   31142  4171  0 08:25 ?        00:00:00 /usr/sbin/httpd
postgres 31181 31601  3 08:25 ?        00:00:11 postgres: nagiosxi nagiosxi 127.0.0.1(59882) UPDATE waiting
postgres 31342 31601  2 08:26 ?        00:00:09 postgres: nagiosxi nagiosxi 127.0.0.1(60004) UPDATE waiting
postgres 31368 31601  2 08:26 ?        00:00:06 postgres: nagiosxi nagiosxi 127.0.0.1(60022) idle
apache   31561  4171  0 08:26 ?        00:00:01 /usr/sbin/httpd
apache   31575  4171  0 08:26 ?        00:00:01 /usr/sbin/httpd
apache   31578  4171  0 08:26 ?        00:00:01 /usr/sbin/httpd
apache   31584  4171  0 07:34 ?        00:00:18 /usr/sbin/httpd
postgres 31601     1  0 Jul25 ?        00:00:36 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
postgres 31607 31601  0 Jul25 ?        00:00:01 postgres: logger process        
postgres 31609 31601  0 Jul25 ?        00:00:14 postgres: writer process        
postgres 31610 31601  0 Jul25 ?        00:00:07 postgres: stats buffer process  
postgres 31611 31610  0 Jul25 ?        00:00:06 postgres: stats collector process
postgres 31723 31601  4 07:34 ?        00:02:21 postgres: nagiosxi nagiosxi 127.0.0.1(35934) UPDATE waiting
postgres 31812 31601  3 08:26 ?        00:00:08 postgres: nagiosxi nagiosxi 127.0.0.1(60308) UPDATE
postgres 31975 31601  4 08:26 ?        00:00:11 postgres: nagiosxi nagiosxi 127.0.0.1(60439) UPDATE waiting
postgres 32022 31601  5 08:26 ?        00:00:14 postgres: nagiosxi nagiosxi 127.0.0.1(60472) UPDATE waiting
apache   32040  4171  0 08:26 ?        00:00:01 /usr/sbin/httpd
root     32273  3737  0 08:27 ?        00:00:00 sshd: root@pts/0
postgres 32280 31601  4 08:27 ?        00:00:11 postgres: nagiosxi nagiosxi 127.0.0.1(60700) idle
root     32328 32273  0 08:27 pts/0    00:00:00 -bash
apache   32417  4171  0 08:27 ?        00:00:00 /usr/sbin/httpd
postgres 32469 31601  2 08:27 ?        00:00:06 postgres: nagiosxi nagiosxi 127.0.0.1(60820) idle
[root@nagiosxi mail]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagioxi CPU consumption strongly increased

Post by tgriep »

The errors in the cron log file are gone, is the server running better now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

Hi,
No the problem still occurs.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Nagioxi CPU consumption strongly increased

Post by Frédéric GRANAT »

Hi,
That's a blocking problem :
1) We can not manage nagios causing by the slowdown
2) Nagios installed on an ESX server and consume the all CPU of the server, potentially causing CPU lack of resources for other virtual machines (we had to put a limit on the CPU consumption on the VM hosting Nagios)
3) It seems that the slowdown is causing problems with the checks (false alerts)

I ask for a remote session to solve the problem quickly and at 5 PM french hour if possible.
Please ask to the support manager (Trevor McDonald) if it's possible, he accepted that kind of remote session for a recent post.

Rgds,

Frederic
Locked