Here are a couple of things to check. Does your
Nagios server have a valid and matching forward and inverse DNS
entries? Does it use that name in it's SMTP HELO greeting? Is the
mail server on the monitoring system otherwise configured to "follow all of the
rules" when it comes to SMTP? The pager (and SMS) email gateways have
been adding anti-spam measures that can "catch" monitoring systems that aren't
normally mail servers. The inverse DNS requirement affects several of the
gateways, but I don't remember specifically about Metrocall.
I would try checking the mail logs on the monitoring system
for clues on why it isn't getting through. If you know enough about the
SMTP protocol, telnetting to port 25 and entering the first few commands by hand
will show any responses if the SMTP logs aren't detailed enough. (Someone
should write an SMTP debugger script to help identify common
issues.)
This wouldn't be your problem, but for awhile the AT&T
SMS gateway was blocking any messages that had URLs. The mail was accepted
by their server, but just dumped into a black hole. As a workaround, we
modified our notify script to strip the http: using awk. (Cingular has
changed the gateway so I don't know if they still do it. I hope not, since
I plan to replace my phone with a Windows Mobile unit and would sure like to use
URLs from messages.)
From: Justin Craig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 7:43 AM
To: David Maynard; Nagios Users Mailinglist
Subject: Re: [Nagios-users] host-notify-by-epager
On 7/19/06, Justin
Craig <[EMAIL PROTECTED]>
wrote:
I can send myself a test page from any email client via @page.metrocall.com . So it is working....What's weird is I can relay off localhost (nagios) to my gmail.com email account.Why can't my nagios server send outside? I looked at the firewall and I see the source address coming into the inside interface, but it never leaves the outside interface, so I need to punch a whole for port 25. I'd rather not do that and just relay off our outbound mail server. Can anyone help me with that?
Thanks,
Justin
On 7/18/06, David Maynard < [EMAIL PROTECTED]> wrote:Not to ask a dumb question, but are you sure the @ page.metrocall.com address is working? We had to reconfig our MetroCall pager notifications to use @ my2way.com awhile back becuase they broke the Metrocall address.FYI, I just received a notification that they are changing things again on the weekend of August 11th. They don't mention the metrocall address working, but the my2way.com is supposed to keep working. They are also adding one for the new USA Mobility moniker.
I have host-notify-by-epager working correctly with default commands in misccommands.cfg. host-notify-by-epager is not working, and looking in system logs I see notification attempts to my pager at [EMAIL PROTECTED] is timed out with mailmx.archwireless.net
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Justin Craig
Sent: Tuesday, July 18, 2006 11:23 AM
To: Nagios Users Mailinglist
Subject: [Nagios-users] host-notify-by-epager
Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947: to=< [EMAIL PROTECTED]>, ctladdr=< [EMAIL PROTECTED] > (501/501), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120546, relay= mailmx.archwireless.net. [147.187.10.95], dsn=4.0.0, stat=Deferred: Connection timed out with mailmx.archwireless.net.
I can resolve via my nagios host:
[EMAIL PROTECTED] network]# nslookup
> set type=mx
> page.metrocall.com
Server: 192.168.200.18
Address: 192.168.200.18#53
Non-authoritative answer:
page.metrocall.com mail exchanger = 5 mailmx.archwireless.net.
Authoritative answers can be found from:
mailmx.archwireless.net internet address = 147.187.10.95
shouldn't this notification behave the same way as email. the only difference being that my email address I have in contacts.cfg is internal and this epager address is external. I'd like to use local host to send from or I'm also willing to tell localhost about our outside mailserver.
Anyone have a quick and easy solution for me :) I'm it's something simple...... I'm just missing it.
--
- Justin--
- Justin
--
- Justin
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Nagios-users mailing list Nagios-users@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