HOST/SERVICE VIEW ACCESS

John Duraiswamy john.nagios at gmail.com
Tue Apr 22 15:00:17 CEST 2008


Marc,
I want the NOC folks to see only ping not ssh, but they can view ping and
ssh.


define host {
        use     generic-host
        host_name       DS-Router
        alias   DS-Router
        address 10.32.0.254
        contact_groups  NOC
        icon_image      switch.png
}

define service {
        use                             generic-service
        host_name                       DS-Router
        check_command                   check_ping!100.0,20%!800.0,60%
        service_description             ping
        contact_groups                  NOC
}

define service {
        use                             generic-service
        host_name                       DS-Router
        check_command                   check_ssh!100.0,20%!500.0,60%
        service_description             ssh
        contact_groups                  ADMIN
}

authorized_for_all_services=ADMIN
authorized_for_all_hosts=ADMIN




On Tue, Apr 22, 2008 at 8:37 AM, Marc Powell <marc at ena.com> wrote:

>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of John Duraiswamy
> > Sent: Tuesday, April 22, 2008 7:07 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] HOST/SERVICE VIEW ACCESS
> >
> > Hi Everyone,
> >
> > By default, users can only view information for hosts or services that
> they
> > are contacts for. In my installation I have setup only some contacts
> to view
> > only their hosts and some services of those hosts. But when they log
> in they
> > can view all the services for those hosts. Is this a bug?
>
> It's certain to be a misconfiguration issue. A educated guess based on
> the (no) information you've provided would be to check the
> authorized_for_* variables.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080422/719d1e86/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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