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?
>
It's a bug. I'm sure some strcmp() somewhere has turned to a strstr().
> I can get around it by renaming "live-sites" to something different
> that wouldnt overlap "as-live-sites"
>
as-live-Sites (capitalization) should fix it.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]