Command file is the same.
Running that command like root or Nagios user manually it is ok
In the Nagios file (does not send sms):
command_line /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is
$HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$"
In command line (running OK):
#> /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$
Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$"
Marco
Da: Ennis Ibarra [mailto:[email protected]]
Inviato: mercoledì 11 maggio 2011 18:10
A: Nagios Users List
Oggetto: Re: [Nagios-users] smstools3 with nagios
Check your commands file, see if there you can find a difference, what's the
directory smstools2/3 is pointing to, what is the command?
_____________________________________________
Supreme Court of New Mexico Ennis Ibarra
----- Original Message -----
From: "Marco Borsani" <[email protected]>
To: "NAGIOS" <[email protected]>
Sent: Wednesday, May 11, 2011 6:12:38 AM
Subject: [Nagios-users] smstools3 with nagios
Hi all
As many people to send sms with Nagios I usually use smstools2 , all is working
fine.
Now I am testing smstools3, I can send sms using command line (as root and
Nagios user too), but Nagios program did not send any sms ….
Are there differences in the configuration between smstools2 an smstools3 ?
regards
Marco Borsani
Unix and Monitoring Sysadmin
Technical Operations Dpt.
tel: +39 010 4310115
fax: +39 02 30130311
cell: +39 329 5953944
ITnet Srl
Società con socio unico
Direzione e Coordinamento di …
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
<http://p.sf.net/sfu/intel-dev2devmay> http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Nagios-users mailing list
<mailto:[email protected]> [email protected]
<https://lists.sourceforge.net/lists/listinfo/nagios-users>
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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Nagios-users mailing list
[email protected]
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