FW: FW: SMS issue Nagios 3.0

Marc Powell marc at ena.com
Tue Apr 22 14:40:48 CEST 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Henrik Schou
> Sent: Tuesday, April 22, 2008 5:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] FW: FW: SMS issue Nagios 3.0
> 
> Now I can send SMS' as the nagios user from the command line to my
mobile,
> using sendsms xxxxxxxxxx test.
> 
> If I try to send using the command: /usr/local/bin/sendsms $PAGER$
"Nagios:
> Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$"
> 
> Nothing happens, the command doesn't create an error, so I guess it
might be
> my contacts.cfg's $PAGER$ which are causing my problem now??

If that is the precise command line you used for manually testing, it
will fail because $PAGER$ (and the others) have no meaning for the
shell. The idea was to substitute in the appropriate values for those
variables for you test.

--
Marc

-------------------------------------------------------------------------
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 at 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





More information about the Users mailing list