Duplicate entries in Hostgroup GUI and objects.cache

Arno Lehmann al at its-lehmann.de
Wed May 18 20:54:13 CEST 2005


Hi,

have you done the host-to-hostgroup mapping in the host definition, too?

My 2 Euro-cents.

Arno

Ben Conrad wrote:

> Hi Folks,
> 
> v 2.0b3
> 
> I'm having issues with duplicate host entries in my "Hostgroup Overview",
> "Hostgroup Summary" and "Hostgroup Grid" GUI screens.  When I look at a
> hostgroup that has a dup entrie I see:
> 
> hostgroups.cfg:
> define  hostgroup {
>         hostgroup_name          corp-unix
>         alias                   Unix hosts
>         members
> ServerA.passkey.com,ServerB.passkey.com,ServerC.passkey.com
>         }
> 
> When I look in the object cache I see duplicate entries.
> 
> ./var/objects.cache:
> define hostgroup {
>         hostgroup_name  corp-unix
>         alias   Unix hosts
>         members
> ServerA.passkey.com,ServerB.passkey.com,ServerC.passkey.com,ServerA.passkey.
> com,
> 		ServerB.passkey.com,Serverc.passkey.com
>         }
> 
> 
> I've tried stopping nagios, checking for stopped nagios process and moving
> the objects.cache file but I still get duplicate entries in the hostgroups*
> sections.
> 
> I just recently added another host and it's not duplicated:
> 
> [root at pkmon1 nagios]# grep -i blacksabbath *
> hostgroups.cfg: members                 Blacksabbath
> 
> 
>>>objects.cache
> 
> define hostgroup {
>         hostgroup_name  nss-staging
>         alias   test group
>         members Blacksabbath
>         }
> 
> Does anybody know what is up?
> 
> 
> Ben
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> 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

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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