On Mon, May 05, 2008 at 03:07:42PM +0400, Ilya Meylikhov wrote: > I've found suitable for me solution - I use a -l switch in gnokii which is > sets the maximum amount of symbols in the SMS. By default it is 160. So my > current command look like this: > > define command{ > command_name notify-service-by-sms > command_line echo > "$HOSTNAME$.secretdomain.ru/$HOSTALIAS$/$SERVICEDESC$/$SERVICESTATE$:$SERVIC > EOUTPUT$ [$SHORTDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ -l 220 >> > /usr/local/nagios/var/gnokii.log > 2>$1 > } > > With this command I can send SMS with more than 160 symbols but less than > 220 and it's suitable for my needs.
If your particular carrier *and phone* happen to tolerate that, then you go with that. But understand the other repliant's warning: it's out-of-standard. Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null