I'm having problems to send notifications to my pager using sms_client.
I already configured a misccommand named NotifyByPager like this under "command_line":
/usr/local/bin/sms_client -q $CONTACTPAGER$ '$NOTIFICATIONTYPE$\n$HOSTALIAS$ ($HOSTADDRESS$) $HOSTSTATE$ at $SHORTDATETIME$'
I configured a host to use this notification command, and when it's down, nagios shows the notification in the "Host Notifications" list (on the web interface).
Type: HOST DOWN
Time: 07-19-2005 10:36:57
Notification Command: NotifyByPager
Information: CRITICAL - Plugin timed out after 10 seconds
But as far as it seems, the command was never executed. (doesn't appear in the sms_client's log file).
I'm just a newbie with this nagios stuff, and maybe I'm doing something wrong.
Please help me out.
Thanks in advance.