R: R: Send SMS in Linux

Chris Wilson chris at aidworld.org
Mon Nov 28 11:44:53 CET 2005


Hi Marco,

On Mon, 2005-11-28 at 10:26 +0100, Marco Borsani wrote:

> If I run sendsms manually (like sendsms 39329... "test messaged" ) all will
> run correctly!

Did you try running sendsms as the nagios user, rather than as root?

If that works, try adding ">/tmp/sms.log 2>&1" to the end of your SMS
command (without the quotes), then generate an SMS alert and see what
turns up in /tmp/sms.log.

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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