Say I built 1000 servers from the same OS Image, everything is the same including SNMP configs (They all have unique IP addresses of course). For each server, I want to monitor the same 12 services, all via SNMP, using Nagios.
In the Nagios config, is there a way to configure each server such that I don't have to repeat the 12 service entries in every single host file?
Something like:
Host MyHost {
ServiceGroup 12Monkeys;
}
Better yet, is there a way to say "for these 1000 servers, monitor these 12 services"?
Servicegroup 12Monkeys {
Servers: 192.168.0.0/24;
}
Thanks!