Patrick ~<br><br>I just set this up myself, so I'll share some of the details on how I got it working.<br><br>First off you'll need a way for the email's to reach the nagios inbox. In our example I setup fetchmail on our CentOS box to check Exchange every 15 seconds for mail using POP3.
<br><br>once you have that configured and mail is going into the inbox on your linux machine for the nagios account, you'll need to configure procmail.<br>Now if your on a redhat system (or flavor) procmail is setup by default. (Otherwise you may need to install/configure)
<br>So you'll need to setup a .procmailrc file in the nagios users home directory (or place a procmailrc file in /etc).<br><br>Procmail should be setup to kick off a script (that you'll need to write) to process the incoming mail and if a problem is acknowledged, place an acknowledgment in the 
nagios.cmd file.<br><br>Like I said, the first process in fixing this puzzle is getting mail to the nagios server from an SMS device. Once there it should be pretty straight forward.<br><br>Let me know if this makes sense.
<br><br>Josh<br><br><br><br><br><div><span class="gmail_quote">On 2/21/07, <b class="gmail_sendername">patrickm</b> <<a href="mailto:patrickm@garlic.com">patrickm@garlic.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the response.  To send txt messages, we have Verizon, so we send to <a href="mailto:1234567890@vtext.com">1234567890@vtext.com</a>.  I hit reply on my phone and a few seconds later I received a bounceback from the mail server where Nagios is..so I think we might be in business.
<br><br>What would I have to do from here?  From the looks of your e-mail, it sounds like I need to code something very detailed...<br><br>Thanks for the help!<br><br>Patrick<br><br><br><br>On Wed, 21 Feb 2007 20:11:47 +1000, Az <
<a href="mailto:az@whoever.org">az@whoever.org</a>> wrote:<br>> patrickm wrote:<br>>> Is it possible to reply to a txt message that is sent from the nagios<br>> server as acknowledgement when an event occurs, like an unreachable server
<br>> or other events?<br>> The short answer is, yes.<br>><br>> The long answer is, it depends on how you sent the SMS in the first<br>> place. If you are using some cheapy internet-based solution, then I<br>
> doubt they have any return path feature. If you are sending via GSM<br>> modems, then yes. We do this now and have been for 2 years. If you have<br>> a direct link into a carriers' SMSC, then it will depend on their
<br>> solution. We are looking to move this way in the near future, and our<br>> carrier has a return path solution.<br>><br>> The guts of the solution is just code that parses the SMS back and hands<br>> it off to Nagios using the external command features. In our case, we
<br>> reply/forward the entire SMS as-is back to sending device, which can<br>> easily parse the SMS given we know the exact format it left in anyhow.<br>> Plus, the same system handles other inbound and outbound SMSs with ease.
<br><br><br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys-and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null
<br></blockquote></div><br>