host down/service up

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

host down/service up

Post 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
Attachments
$486392DC6AEC450A.jpg
$486392DC6AEC450A.jpg (6.91 KiB) Viewed 2407 times
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: host down/service up

Post 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 . . . .
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.
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: host down/service up

Post 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
            }
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: host down/service up

Post 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.
Former Nagios employee
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: host down/service up

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: host down/service up

Post by slansing »

So your host checks are working fine now? Do you have further questions on this?
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: host down/service up

Post by cesar.garza »

Yes, I am good on it.
thanks
Locked