Hostgroups: if not contact for one host, none are available

Rutger Blom rutger at blokje.net
Thu Feb 17 08:56:05 CET 2011


I find this very irritating too. It doesn't make sense either.

Rutger

2011/2/17 Yueh-Hung Liu <yuehung.liu at gmail.com>:
> this isn't a bug.
> by reviewing the source codes, you can find that Nagios(more
> precisely, the CGIs) just do this way.
> i have no clue why Nagios won't show "partial" hostgroups if one has
> no access to all host members.
> maybe for performance issue?
>
>
> On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend <benny at bennyvision.com> wrote:
>>
>> Hey folks,
>>
>>   This has bitten me a few times now, so I figured I'd better report
>> it...
>>
>>   If I have hostgroup "bob":
>>
>> host1
>> host2
>> host3
>> host4
>> host5
>>
>> and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT
>> 5), frank will not be able to view the *hostgroup*.  It gives the
>> usual "It appears you do not have permissions ..." error.
>>
>>   *Surely* this can't be intentional, can it?  Why the heck would
>> you _want_ that behavior?  I would expect it to display the hosts
>> in the group (viewing a host you're a contact for will show all
>> services, even if you're not a contact for all), or at worst just
>> the members of the group the user is a contact for, but not deny
>> access to the entire hostgroup.
>>
>>   In my environment, I have accidentally added a host to the
>> wrong hostgroup.  When I do this and the users of the hostgroup
>> aren't contacts for this new one that I misplaced, the users lose
>> access to the entire hostgroup.
>>
>>   Am I being dense, or is this a bug?  3.2.3 on RHEL 5.5, BTW.
>>
>> Thanks!
>>
>> Benny
>>
>>
>> --
>> "Hairy ape nads."        -- Colleen, playing Neverwinter Nights
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> 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
>>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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