Two contacts using the same HTTP auth?

Paul L. Allen pla at softflare.com
Mon Aug 22 23:21:33 CEST 2005


C. Bensend writes: 

> 1)  The fake host alerts only their Blackberry contact 
> 
> 2)  Unfortunately, their normal contact cannot see the fake host,
>     since their normal contact (their HTTP auth username) is not
>     a contact for the fake host 
> 
> 3)  Hence, I'd need a second HTTP auth username/password for them
>     to log in with, to manipulate the notifications for the fake
>     host, which I'd like to avoid if possible 
> 
> I hope that's clearer...  It seems like an overly complex solution,
> but I couldn't come up with a better way to do it.  I'm open for
> suggestions.  :)

The default notification command essentially shells out to your
command-line mail utility and sends the appropriate lines of data.
Have it instead shell to a custom script that determines if it's a real
host or the fake host and over-rides the contact address with the
appropriate blackberry address if it's the fake host.  Unless you're
comfortable with shell/perl scripting go with the idea you already have. :) 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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