Duplicate entries in Hostgroup GUI and objects .cache
Ben Conrad
BConrad at passkey.com
Tue Jun 14 19:24:24 CEST 2005
This reply is mainly for the online archives....
Yes! That was it, I had a hostgroup with the host as a member as well as
having the host be a member of the same host group. I've removed any
hostgroup entries on my host defintions and things are looking much better.
Thanks,
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
______________________________________________________________________
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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