event manager showing critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

event manager showing critical

Post by ravish78 »

Nagios xi event manager is showing critical(red).What can be done to resolve this?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: event manager showing critical

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: event manager showing critical

Post 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>
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: event manager showing critical

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: event manager showing critical

Post by ravish78 »

please find attached output
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: event manager showing critical

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: event manager showing critical

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: event manager showing critical

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: event manager showing critical

Post by ravish78 »

This was resolved.Thanks for your input
you can close this
Locked