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?
Status ok but still alert?!
Status ok but still alert?!
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?!
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.
Re: Status ok but still alert?!
How to attach a dummy check to the host without affect existing service monitoring state?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.
please describe these two methods which you suggested, thanks!
Re: Status ok but still alert?!
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.
"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.
Re: Status ok but still alert?!
It work, thanks!abrist wrote:My suggestion would be to change the host check to a check_http check as the server is reachable on port 80.
Re: Status ok but still alert?!
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.
"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.