hostgroups causing hairloss

David Rosenstrauch darose at darose.net
Wed Jul 8 19:15:12 CEST 2009


DAve wrote:
> Everything looks fine, but when I start Nagios and look at View 
> Config->Object Type->Host Groups, I see this!
> 
> Group Name	Description	        Host Members
> CACHE_DNS	Caching DNS service 	CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , 
> IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth
> 
> The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and 
> SDC-Ns3.

Probably not a coincidence that CDC-Ns1auth starts with CDC-Ns1.  Sounds 
like it's using CDC-Ns1 as a prefix to match hostnames, rather than as 
an actual hostname.

Looks like there's config setting in 3.0 called use_regexp_matching 
which might control that.  Perhaps in your old config file that was 
somehow turned on.  (Or perhaps not defined at all, and on is the default.)

Who knows what other old settings you're inheriting too.  It's probably 
best for you to scrap your old config, and start fresh with a new 3.0 
config file, then adopt it to your needs (i.e., point it to whatever 
custom definitions/definition-files you've created).

HTH,

DR

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list