Host and service grouping in 2.04b
"D. Wüthrich"
d.wuethrich.h at gmx.net
Thu Nov 17 11:04:16 CET 2005
Hi
I had this problem too with hostnames in nagios 2.0b3. It seems that only a 'subset' is matched. I don't exactly now whether it just depends on '-' or on other characters too.
e.g. 'aa-bb' matches (sometimes) 'aa' or 'bb' but not 'Aa' ...
Daniel
Ben O'Hara wrote:
> On 11/17/05, Ethan Galstad <nagios at nagios.org> wrote:
>
>>Ben -
>>
>>Can you try the latest 2.0b5 code and let me know if you still
>>encounter this problem? I was not able to replicate the problem, so
>>it may have been fixed sometime after the 2.0b4 release. Thanks!
>>
>
>
> Ethan,
>
> Ill give it a try when i get time to compile it up, Andreas solutions
> of capitalising one of the hostnames worked as a quick fix for the
> moment.
>
> Ill let you know how i get on.
>
> Ben
>
>>On 16 Nov 2005 at 16:10, Ben O'Hara wrote:
>>
>>
>>>Hi,
>>>
>>>I recently upgraded to 2.04b and ive noticed a possible bug.
>>>
>>>I have 2 hosts defined under a hostgroup.
>>>
>>>Hostgroup is "Public Checks"
>>>
>>>And the 2 hosts are
>>>
>>>live-sites
>>>as-live-sites
>>>
>>>The "live-sites" hosts has 6 services defined under it, and the
>>>"as-live-sites" has 1 service defined.
>>>
>>>However, when viewing nagios via the web interface "as-live-sites"
>>>shows 7 services and "live-sites" shows 6.
>>>
>>>It appears that the hostname is being matched so that "as-live-sites"
>>>has its 1 service but also the 6 services defined under "live-sites"
>>>aswell.
>>>
>>>Im sure this didnt occour in 1.2, is this a feature or a bug?
>>>
>>>I can get around it by renaming "live-sites" to something different
>>>that wouldnt overlap "as-live-sites"
>>>
>>>Hope that actually makes sense!
>>>
>>>Ben
>>>--
>>>"There are 10 types of IT people. Those who understand binary and
>>>those who don't."
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
>>>Register for a JBoss Training Course. Free Certification Exam
>>>for All Training Attendees Through End of 2005. For more info visit:
>>>http://ads.osdn.com/?ad_idv28&alloc_id 845&opÀick
>>>_______________________________________________
>>>Nagios-devel mailing list
>>>Nagios-devel at lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/nagios-devel
>>>
>>>
>>
>>
>>
>>Ethan Galstad,
>>Nagios Developer
>>---
>>Email: nagios at nagios.org
>>Website: http://www.nagios.org
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
>>Register for a JBoss Training Course. Free Certification Exam
>>for All Training Attendees Through End of 2005. For more info visit:
>>http://ads.osdn.com/?ad_idv28&alloc_id845&opclick
>>_______________________________________________
>>Nagios-devel mailing list
>>Nagios-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-devel
>>
>
>
>
> --
> "There are 10 types of IT people. Those who understand binary and
> those who don't."
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
More information about the Developers
mailing list