I'm wondering if anyone can think of a better way to configure the following scenario:

Assume I have 2 services being monitored, service1 and service2.
User1 wants to be able to see both services through the CGI interface and hence is defined as a contact for both of them.
User1 wants notifications for service1 but NEVER for service2.

The only way I can think of setting this up is as follows:

  1. Turn off all notifications for User1. This is the
     username/password the person logs into the CGI with.
  2. Create another user called User1_notifications. No one ever logs
     in as this user but it has the same contact details eg email etc
     as User1. User1_notifications has notifications enabled.
  3. Setup User1_notifications as a contact for service1 only.

Hence when service1 alerts User1 will never get alerted (notifications are off), User1_notifications will get alerted (and its really the same person as User1). When service2 alerts, User1 will never get alerted (notifications are off) and User1_notifications will also not get alerted (as they are not even a contact).

Its a little bit ugly having to declare the contact twice, but at the moment its the only way I can think of achieving this.

Any ideas appreciated.



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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

Reply via email to