However, some hosts doesn't reply to pings. So a more complex check command must be used.
This check_command is also defined as a service, for various reasons.define host {
host_name myhost
address 192.168.1.1
check_command check-host-alive-scenario
}
define service{
use generic-service
host_name myhost
check_command check-host-alive-scenario
}
So it run twice for the same server, one as a service and one for the host check_command.
1) Is there a way to use the service sate to depict the same state as the service without running twice?
2) Is there a way to make server UP if at least on service is to non CRITICAL state ?