I’m currently encountering an issue on my Nagios XI server where the Event Manager shows a critical status. After some investigation, I came across this post:
viewtopic.php?t=23010
I followed the steps mentioned in the post and restarted the crond service, but the eventman process still doesn’t appear when I run the command:
Code: Select all
ps -aef | grep eventman
This behavior is similar to what was described in the post.
I also checked the cron file and log outputs. The cron file looks as follows:
Code: Select all
cat /etc/cron.d/nagiosxi
0 7 * * * root /root/scripts/automysqlbackup
0 7 * * * root /root/scripts/autopostgresqlbackup > /dev/null 2>&1
* * * * * 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/event_handler.php >> /usr/local/nagiosxi/var/event_handler.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/bin/php -q /usr/local/nagiosxi/cron/recurring_downtime.php >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/snmptt_service_results.php >> /usr/local/nagiosxi/var/snmptt_service_results.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1
Code: Select all
tail -25 /var/log/cron
Dec 5 16:28:02 nagios01 CROND[4156]: (root) MAIL (mailed 95 bytes of output but got status 0x007f#012)
Dec 5 16:28:02 nagios01 CROND[4157]: (root) MAIL (mailed 93 bytes of output but got status 0x007f#012)
Dec 5 16:28:03 nagios01 CROND[4150]: (root) MAIL (mailed 201948 bytes of output but got status 0x007f#012)
Dec 5 16:28:03 nagios01 CROND[4155]: (root) MAIL (mailed 106120 bytes of output but got status 0x007f#012)
Code: Select all
tail -f /usr/local/nagiosxi/var/eventman.log
Date/Time: 2024-12-05 16:30:03
Respond: http://10.110.44.33/nagiosxi/rr.php?oid=171&token=153672d876ceee9fa74a4fe518c1d26997de6ec9
Nagios URL: http://10.110.44.33/nagiosxi/
[plaintext] =>
)
PHP Fatal error: Call to undefined function mb_convert_encoding() in /usr/local/nagiosxi/html/includes/utils-email.inc.php on line 81
Code: Select all
rpm -qa | grep mbstring
php-mbstring-5.3.3-50.el6_10.x86_64