Contact methods
Andreas Ericsson
ae at op5.se
Mon Oct 4 11:31:25 CEST 2004
Daniel Benoy wrote:
> Hello, I just set up Nagios on my home network. I've used it before at work,
> so I'm familiar with it.. however, I've only used a far far older version.
> (Not only have I forgotten most of what I learned back then :p but also,)
> Some things seemed to have changed with the configuration. In the past, I
> would have multiple methods of contacting the staff (By pager, by e-mail, by
> instant messanger), and they'd each be their own contact object thingy.
>
> However, I see now that Nagios authenticates based on wether your
> authenticated username matches the name of a contact. Is there any way I
> could have multiple contacts for 'jdoe', every one of which 'jdoe' can
> access?
>
You only need one contact to log in. Set up jdoe (for email), jdoe-pager
(for pager alerts) jdoe-im (for im) and so on. Use jdoe to log in. Put
them all in the same contactgroup and you're good to go.
> i.e. I only want jdoe to be contacted by pager if several attempts to contact
> him by IM have failed. And some failures warrant no immediate attention at
> all, and a simple e-mail documenting the event is sufficient.
>
> However, if I make a 'jdoe-pager' 'jdoe-email' etc etc contact for each
> method, then it messes up authentication.
>
> If this requires a new feature, I'm willing to make a patch, so if it can't be
> done currently, let me know how you'd best like to see the syntax etc.
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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