Status ok but still alert?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Status ok but still alert?!

Post by xpertech »

All monitoring status are ok, but Host still red?!
NagiosXI using ping for host monitoring check, but if host doesn't allow ping or host behind a firewall which not allow ping, how to solve this?
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Status ok but still alert?!

Post by slansing »

What you are seeing is a host in a critical state because it is unable to be pinged as you said. The service, next to it, is in an OK state. To resolve this, you could attach a dummy check to the host, or a check which will look at one of your services, and change it's state based on the results there. It is advisable to always allow your hosts to be pinged as that is the way Nagios checks to see if they are up or down. Though as noted above you can work around that.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Status ok but still alert?!

Post by xpertech »

slansing wrote:What you are seeing is a host in a critical state because it is unable to be pinged as you said. The service, next to it, is in an OK state. To resolve this, you could attach a dummy check to the host, or a check which will look at one of your services, and change it's state based on the results there. It is advisable to always allow your hosts to be pinged as that is the way Nagios checks to see if they are up or down. Though as noted above you can work around that.
How to attach a dummy check to the host without affect existing service monitoring state?
please describe these two methods which you suggested, thanks!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Status ok but still alert?!

Post by abrist »

My suggestion would be to change the host check to a check_http check as the server is reachable on port 80.
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.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Status ok but still alert?!

Post by xpertech »

abrist wrote:My suggestion would be to change the host check to a check_http check as the server is reachable on port 80.
It work, thanks!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Status ok but still alert?!

Post by abrist »

No problem! Happy monitoring!
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.
Locked