<div style="DIRECTION: ltr">Hi,<br><br>I am using nagios-2.0 for Network Monitoring,<br>I want to send notification by sms, so i install smstools. This software work only in command line, but when I add it to nagios program,
<br>I don't received any alert with sms.<br><br>I define below lines in misccommand.cfg file<br><br># 'notify-by-sms' command definition<br>define command{<br>        command_name    notify-by-sms<br>        command_line    /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$:$SERVICEDESC$ is $SERVICESTATE$" | /usr/local/bin/sendsms $CONTACTPAGER$
<br>        }<br><br># notify-by-SMS command definition<br>define command{<br>        command_name    host-notify-by-sms<br>        command_line    /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/sendsms $CONTACTPAGER$
<br>        }<br><br><span style="FONT-WEIGHT: bold">Would you please help me?</span><br style="FONT-WEIGHT: bold"><span style="FONT-WEIGHT: bold">Why I can't receive notification by sms?</span><br><br>Thanks a  lot.<br> 
</div>
<div style="DIRECTION: ltr"><span class="sg">Raoufnezhad.<br></span></div>