Users able to see services their not authenticated for

Tore Lønøy tore.lonoy at gmail.com
Thu Mar 26 16:51:49 CET 2009


Hello,

I have a service I just want a certain group to be able to view, here is the
object def. of the service from objects.cache:

define service {
        host_name       hostname
        service_description     description
        check_period    24x7
        check_command   check_nrpe!service
        contacts
        contact_groups
        notification_period     18x7
        initial_state   o
        check_interval  2.000000
        retry_interval  5.000000
        max_check_attempts      4
        is_volatile     0
        parallelize_check       1
        active_checks_enabled   1
        passive_checks_enabled  0
        obsess_over_service     0
        event_handler_enabled   0
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        flap_detection_options  o,w,u,c
        freshness_threshold     0
        check_freshness 0
        notification_options    c,r
        notifications_enabled   0
        notification_interval   60.000000
        first_notification_delay        0.000000
        stalking_options        n
        process_perf_data       1
        failure_prediction_enabled      1
        icon_image      graph.png
        retain_status_information       1
        retain_nonstatus_information    1
        }

I've zeroed out the values for contacts and contactgroups, which should
effectivly hide this service unless cgi.cfg tells otherwise for that user.

But, any user is able to view this service, why?

Ive tried to add myself to the contacts line and remove the contact_groups,
so it would look like this:
        contacts                  tore
#        contact_groups

But this still doesnt work, are regular operators are still able to view the
service, why? Operators are members of a "operators" group, which is a
contactgroup for all hosts.

Any tips would be gratefull :)

Running Nagios 3.0.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090326/effb4d0c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- 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