I think that I kinda f**ked up when I tried to add my first Hostgroup on windows.cfg.
Before, I added a Host with the normal Services and it was okay.
Now, I tried to rename the default Hostgroup "windows-server" and obviously the "use windows-servers" in the line of the Host, but now the System told me:
Code: Select all
Error: Template 'vmware-server-160' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 39)
Error processing object config files!
Code: Select all
39 define host{
40 use vmware-server-160
41 host_name Z - 215 - FINANCE-UPD ; The name we're giving to this host
42 alias Z - 215 - FINANCE-UPD ; A longer name associated with the host
43 address 192.168.50.215 ; IP address of the host
44 }
Code: Select all
23 define hostgroup{
24 hostgroup_name vmware-server-160 ; The name of the hostgroup
25 alias vmware-server-160 ; Long name of the group
26 }