Page 1 of 1

event manager showing critical

Posted: Mon Dec 09, 2013 9:25 am
by ravish78
Nagios xi event manager is showing critical(red).What can be done to resolve this?

Re: event manager showing critical

Posted: Mon Dec 09, 2013 10:43 am
by abrist
Start by checking for the cron:

Code: Select all

ps -aef | grep eventman
Restart crond to restart the eventman script:

Code: Select all

service crond restart
ps -aef | grep eventman

Re: event manager showing critical

Posted: Mon Dec 09, 2013 11:08 am
by ravish78
we could restart crond but still it event manager is not comming up


tmproot@usa0300lv886>service crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]
tmproot@usa0300lv886>ps -aef | grep eventman
root 24605 20651 0 11:07 pts/1 00:00:00 grep eventman
tmproot@usa0300lv886>

Re: event manager showing critical

Posted: Mon Dec 09, 2013 11:16 am
by abrist
Lets check for the cron:

Code: Select all

cat /etc/cron.d/nagiosxi
tail -25 /var/log/cron
Andy check the nagios user:

Code: Select all

chage -l nagios

Re: event manager showing critical

Posted: Mon Dec 09, 2013 11:27 am
by ravish78
please find attached output

Re: event manager showing critical

Posted: Mon Dec 09, 2013 11:48 am
by abrist
Do a running tail on the eventman log. Let it run for at least 2 minutes, kill it with 'ctrl-c' and then post the output here:

Code: Select all

tail -f /usr/local/nagiosxi/var/eventman.log

Re: event manager showing critical

Posted: Mon Dec 09, 2013 1:01 pm
by ravish78
tmproot@usa0300lv886>tail -f /usr/local/nagiosxi/var/eventman.log
No route to host
Date/Time: 2013-12-09 13:01:02

Respond: http://13.132.76.36/nagiosxi//rr.php?ui ... f21c46b5eb
Nagios URL: http://13.132.76.36/nagiosxi/

)


PHP Fatal error: Call to undefined function mb_convert_encoding() in /usr/local/nagiosxi/html/includes/utils-email.inc.php on line 74

Re: event manager showing critical

Posted: Mon Dec 09, 2013 1:09 pm
by abrist
You are missing the mbstring library, get it with:

Code: Select all

yum install php-mbstring -y
And then restart apache:

Code: Select all

service apache restart

Re: event manager showing critical

Posted: Wed Dec 18, 2013 1:53 pm
by ravish78
This was resolved.Thanks for your input
you can close this