Hostcontacts don't want to see every Service

Christoph Kluenter ck at iphh.net
Fri Apr 25 13:55:25 CEST 2008


Hi,


On Friday 25 April 2008 13:18:11 Joerg Linge wrote:
> Am Freitag, 25. April 2008 10:51 schrieb Christoph Kluenter:
> > Hi,
> >
> > I would like to activate a service check that checks for debian-packages
> > that have to be updated.  But my problem ist, that when debian releases a
> > security update, there will be an alarm for every host.
> > This will make the Webinterface very cluttered.
> > So I would like to have a group which ist the contactgroup for all hosts,
> > but does not see the debian-package-service. Is this possible ?
> > Usually the contactgroup for a host can see every service on that host.
> > At the moment I have  created a dedicated new host with all the
> > package-checks on the different hosts as services. It works, but is not
> > very nice. Are there better ways ?
>
> Hi Christoph,
>
> have a look on cgi/cgiauth.c Line 270
>
> <snip>
>     270         /* if this user is authorized for this host, they are for
> all services on it as well... */ 271         /*
> if(is_authorized_for_host(temp_host,authinfo)==TRUE) 272                
> return TRUE;
>     273         */
>
> Change Line 271...272 and recompile your cgis
Is this a bug or a feature  ?
Wouldn't it be nice if this was configurable ?

Christoph
>
> Jörg
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> 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



-- 
IPHH Internet Port Hamburg GmbH      Fax: +49 (0)40 374919-29
Grosse Reichenstrasse 27             AG Hamburg, HRB 76071
D-20457 Hamburg                      Geschaeftsfuehrung: Axel G. Kroeger

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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