[Nagios-users] over writing services from templates

2011-05-09 Thread mail
Hi all, I seem to have a working solution but an confused as to why it works, could some one please explain or suggest a better way to do this. I apply service to hosts via, host-templates and wanted to change a value for a service but just for one hosts. I didnt want to add a new service /

Re: [Nagios-users] over writing services from templates

2011-05-09 Thread Yueh-Hung Liu
exclude host2 from the first service definition, such as: service {     name                              service-check     command                       run-some-check.sh     max_check_attempts      1     hostgroup_name              host_group1 host _name !host2 }