> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of England, Stuart > Sent: Tuesday, August 14, 2007 6:34 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Wildcard host groups? > > Hi, I was wondering if its possible to create hostgroups using wildcards > that include the first bit of the hostname as defined in the hosts.cfg > > > > For example, I would like to make a host group of all windows servers. All > my windows server hostname begin with the following three letters "LKS" so > I would like to create a host group containing LKS* however complains > about this syntax
Did you enable regular expression matching in nagios.cfg? http://nagios.sourceforge.net/docs/2_0/configmain.html#use_regexp_matchi ng http://nagios.sourceforge.net/docs/2_0/templatetricks.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null