i'm running "Nagios Core 4.4.6" and I thought I could exclude a hostname in the definition.
This works
- Code: Select all
define service {
use generic-service
hostgroup_name grp-raspbian
service_description ping
check_command check_ping!200.0,20%!600.0,60%
check_interval 5
retry_interval 1
}
But adding
- Code: Select all
host_name !hass
in the block above result in an errors
- Code: Select all
Error: Could not find any host matching '!hass'
Error: Failed to expand host list '!hass'
indeed there is no host named !hass but host_name hass is there. Did I miss something somewhere in excluding one host from the group in one service?
Thnx
Ton