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
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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