SETTING UP SERVICES TO CHECK HOSTGROUPS INSTEAD OF INDIVIDUAL HOSTS
So when specifying your new hosts...instead of doing it this way --> where you specify each host_name, setup your services to check "hostgroups" instead of individual hosts :o) much easier to setup and cleaner to look at.
Extract from windows.cfg
define service{
use generic-service
host_name AISCTSRV02,AISCTSRV03,AISCTSRV01
service_description Uptime
check_command check_nt!UPTIME
}
The much better....improved way
define service{
use local-service
hostgroups Wireless
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
You can even specify your service to check multiple hostgroups
define service{
use local-service
hostgroups Wireless, Windows, Routers
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
No comments:
Post a Comment