>Первое ,что вспомнил
>
>cat body.sms.txt | gammu --sendsms TEXT $NUMBER Привет, тужщ.
вот собственно
cat body.sms.txt | gnokii --sendsms TEXT $NUMBER
GNOKII Version 0.6.27
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = AT
port = /dev/ttyACM0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM0
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK
Received message type 00
......
Received message type 23
Couldn't read from stdin!
Serial device: closing device
=========================================
По логам - полное счастье.
Jan 25 10:07:51 CentOS nagios: HOST NOTIFICATION: nagios-admin;3COM;DOWN;host-notify-by-sms;CRITICAL - Host Unreachable (172.16.5.219)
Jan 25 10:07:51 CentOS nagios: HOST NOTIFICATION: nagios-admin;3COM;DOWN;host-notify-by-email;CRITICAL - Host Unreachable (172.16.5.219)
Jan 25 10:08:14 CentOS nagios: HOST NOTIFICATION: nagios-admin;PODMENKA2;DOWN;host-notify-by-sms;CRITICAL - Host Unreachable (172.16.2.172)
Jan 25 10:08:14 CentOS nagios: HOST NOTIFICATION: nagios-admin;PODMENKA2;DOWN;host-notify-by-email;CRITICAL - Host Unreachable (172.16.2.172)
в общем итоге - на почту алерты летят, на мобилку в виде sms - нет.
Я безутешен, в своей печали. :)