Host Down Services Up - how now?


I’m assuming this is a config issue since I’m a noob. But I’ve got a webserver that is down but has 2 services that are up.

here’s my object cfg:

define host{
use generic-switch ; Inherit default values from a template
host_name ; The name we’re giving to this switch
alias ; A longer name associated with the switch
address ; IP address of the switch
hostgroups iis-servers ; Host groups this switch is associated with

define service{
use generic-service ; Name of service template to use
service_description HTTP
check_command check_http!"-t 30"
notifications_enabled 1

The http service is always up, bot the host is down (Host Check Timed Out).

I thought an UP on a service would return a downed host to UP. What have I missed?


Found it here:

my host doesn’t respond to pings, so the default host check was failing while the http service check was passing. Ergo the host was down while the service was up. The above link uses a new host check based on http instead of ping. Everything back to zen. Nagios rocks!