[Ilugc] Error: Could not find any hostgroup matching 'windows-servers'

  • From: suresh.godaba@xxxxxxxx (Suresh Godaba)
  • Date: Wed, 30 Apr 2014 20:20:22 +0000

Hi,

Can anybody suggest me how to fix the below nagios error, after adding a 
windows host in objects and nagios.cfg file and restarting the nagios service 
getting erros.

Below is the error message can any body assist me.

Error: Could not find any hostgroup matching 'windows-servers'



###############################################################################
###############################################################################
#
# HOST DEFINITIONS
#
###############################################################################
###############################################################################

# Define a host for the Windows machine we'll be monitoring
# Change the host_name, alias, and address to fit your situation

define host{
        use             windows-server  ; Inherit default values from a template
        host_name       example          ; The name we're giving to this host
        alias           Inventory       ; A longer name associated with the host
        address         10.10.7.16      ; IP address of the host
        }

define service{
        use                     generic-service
        host_name               example
        service_description     PING
        check_command           check_ping!100.0,60%!900.0,90%
        }

Regards,
Suresh.

Other related posts:

  • » [Ilugc] Error: Could not find any hostgroup matching 'windows-servers' - Suresh Godaba