Page 1 of 1

host down/service up

Posted: Thu Mar 27, 2014 2:24 pm
by cesar.garza
yoyo nagios !!
Guy i have setup few host and service and got the really weird situation here that host is showing down(Red) and services are up(green). I dont know its a bug or what. I have attached a screenshot.
Let me know if anyone has a update or facing same issue.
Thanks

Re: host down/service up

Posted: Thu Mar 27, 2014 3:21 pm
by abrist
Can we see the configs? Either the services are actually running on the wrong host, or your host is actually UP, but the host check is failing . . . .

Re: host down/service up

Posted: Fri Mar 28, 2014 10:11 am
by cesar.garza
This is the way i configured my host.cfg for 100 box and only two is throwing host down. even though i can login into the boxes.

Code: Select all

define host{
            use                 generic-host
            check_command       check-host-alive
            max_check_attempts  4
            host_name           stga-mongodb-hkg01
            alias               stga-mongodb-hkg01
            address             10.11.170.24
            hostgroups          mongodb
            }

Re: host down/service up

Posted: Fri Mar 28, 2014 10:22 am
by tmcdonald
What message is displayed in the Status Information column for the down hosts? I want to see what output the host check is returning.

Re: host down/service up

Posted: Tue Apr 01, 2014 11:06 am
by cesar.garza
I just found out that my network team disabled the ping into that box. Now nagios able to ping that box and getting reply.
Thanks to jump on it.

Re: host down/service up

Posted: Tue Apr 01, 2014 12:36 pm
by slansing
So your host checks are working fine now? Do you have further questions on this?

Re: host down/service up

Posted: Tue Apr 08, 2014 10:42 am
by cesar.garza
Yes, I am good on it.
thanks