Duplicate entries in Hostgroup GUI and objects .cache

Ben Conrad BConrad at passkey.com
Mon May 23 20:03:11 CEST 2005


Hi,

I do have the host in a hostgroup "X", then I use a service that checks all
hosts in group "X".

Ben


-----Original Message-----
From: Arno Lehmann [mailto:al at its-lehmann.de]
Sent: Wednesday, May 18, 2005 2:54 PM
To: Ben Conrad
Cc: 'nagios-users at lists.sourceforge.net'
Subject: Re: [Nagios-users] Duplicate entries in Hostgroup GUI and
objects.cache


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 email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


-------------------------------------------------------
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