<DIV>I was looking into your script as a way to notify during typical time periods.... but I had a couple problems.<BR></DIV>
<DIV>GetOptions ( <BR>'sn=s' => \$opt_screenname, <BR>'pw=s' => \$opt_passwd, <BR>'msg=s' => \$opt_message,<BR>'rcpt=s' => \$opt_recipient<BR>'v!' => \$opt_verbose<BR>);<BR></DIV>
<DIV> </DIV>
<DIV>Seems to be missing something, and $opt_verbose caused the rest of the script to have issues. I commented out all these references. And it seemes to work, although the format is odd with the quotes.<BR></DIV>
<DIV>Then I hit an issue.... Too many logins from the sending ID! Have you considered how to avoid this if the Nagios system has multiple services down and wants to notify many users? It may be sending man messages to one, or many to many, or one to many. I'm not sure if Yahoo or MAN block repeated signon, but AIL does, and I'd guess this is the effort to reduce robots....</DIV>
<DIV> </DIV>
<DIV>Thanks for the start though!</DIV>
<DIV> </DIV>
<DIV>Al</DIV><p>
                <hr size=1>Do you Yahoo!?<br>
Read only the mail you want - <a href="http://us.rd.yahoo.com/mail_us/taglines/spamguard/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail SpamGuard</a>.