R: smstools3 with nagios
Marco Borsani
m.borsani at it.net
Thu May 12 08:49:10 CEST 2011
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:ennis at nmcourts.gov]
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" <m.borsani at it.net>
To: "NAGIOS" <nagios-users at lists.sourceforge.net>
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:Nagios-users at lists.sourceforge.net> Nagios-users at lists.sourceforge.net
<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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110512/b40b78dd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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