Directive "addressX" in the contacts

Andreas Ericsson ae at op5.se
Mon Oct 29 15:45:07 CET 2007


Marco Borsani wrote:
> Hi all
>  
> I am testing the directive "addressX" in the contact definition...
>  
> May anyone tell me how to use it ?
>  
> I tried to put:
>  
> email              myname at domain.it
> address1        name at domain.it
> address2        name2 at domain2.it
> ....
>  
> but mail arrived only to "myname" address .. any idea ?!?!
>  
> Have I to use same tipology in addressX that in email or I can use a pager
> contact too ?
>  

You can use whatever you want, but you'll have to pass the addressX variables
to the notification program you're using. I imagine that's the problem. Check
the nagios docs for the correct name of the macros to use. AFAIR, it's
$CONTACTADDRESS[1-6]$, but I might be mistaken.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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