Elevated alerts
jmoseley at corp.xanadoo.com
jmoseley at corp.xanadoo.com
Fri Jan 9 18:46:03 CET 2009
If the email address begins with a number, then use $CONTACTPAGER$ string.
I don't know exactly where those variables are defined, but when sending
email to an address that begins with a number (or perhaps contains an
all-numeric string before the @), I've found that the notification is not
sent if using a command definition that uses CONTACTEMAIL.
In the contacts config, use command definitions that have CONTACTEMAIL when
emailing a 'normal' email address. Use CONTACTPAGER when emailing a phone
or pager email address where the user string is numeric.
I'm sure the difference is explained in the documentation or mailling list
archives.
James Moseley
Grant Lowe
<glowe at sbcglobal.
net> To
jmoseley at corp.xanadoo.com
01/09/2009 11:30 cc
AM nagios-users at lists.sourceforge.net
Subject
Re: [Nagios-users] Elevated alerts
Ok. That helps. I'll replace the @MAIL_PROG@ with /bin/mail. Then where
is $CONTACTEMAIL$ defined, so I can add a new variable which I think will
be $CONTACTPAGER$, to replace the $CONTACTEMAIL$ in the command
definitions?
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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