Hello,<br><br>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:<br><br>define service {<br> host_name hostname<br> service_description description<br>
check_period 24x7<br> check_command check_nrpe!service<br> contacts<br> contact_groups<br> notification_period 18x7<br> initial_state o<br> check_interval 2.000000<br>
retry_interval 5.000000<br> max_check_attempts 4<br> is_volatile 0<br> parallelize_check 1<br> active_checks_enabled 1<br> passive_checks_enabled 0<br> obsess_over_service 0<br>
event_handler_enabled 0<br> low_flap_threshold 0.000000<br> high_flap_threshold 0.000000<br> flap_detection_enabled 1<br> flap_detection_options o,w,u,c<br> freshness_threshold 0<br>
check_freshness 0<br> notification_options c,r<br> notifications_enabled 0<br> notification_interval 60.000000<br> first_notification_delay 0.000000<br> stalking_options n<br>
process_perf_data 1<br> failure_prediction_enabled 1<br> icon_image graph.png<br> retain_status_information 1<br> retain_nonstatus_information 1<br> }<br>
<br>I've zeroed out the values for contacts and contactgroups, which should effectivly hide this service unless cgi.cfg tells otherwise for that user.<br><br>But, any user is able to view this service, why?<br><br>Ive tried to add myself to the contacts line and remove the contact_groups, so it would look like this:<br>
contacts tore<br># contact_groups<br><br>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.<br>
<br>Any tips would be gratefull :)<br><br>Running Nagios 3.0.1<br><br><br>