FW: FW: FW: SMS issue Nagios 3.0

Henrik Schou schou at acebiosciences.com
Tue Apr 22 22:47:34 CEST 2008


If I run the same command with my number instead of $pager$ I receive a
SMS. Therefore I assume that it must be the $pager$ part that is wrong??

/Henrik

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: 22. april 2008 14:41
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] FW: FW: SMS issue Nagios 3.0



> -----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/j
avaone
_______________________________________________
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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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