On Fri, 30 Nov, 13:20 +1000 Nick Pratley wrote:
> Hi, I need to be able to send notifications via SMS in the event that the
> email servers are unavailable, or the internet connection is down. There is
> a server on the same network as the Nagios host that has a modem installed
> and uses SMS Tools 3 to send messages. To send a message all I need to do is
> place a file in a certain directory on that server, in a simple format, and
> it does the rest.
>  
> Any ideas what the problem could be, when it runs manually from the command
> line but not through the nagios daemon?

Having just solved this problem this week:

chmod g+w /var/spool/sms/outgoing
chgrp nagios /var/spool/sms/outgoing

This should enable nagios to write to the directory using your script.

Regards,
Peter.

Attachment: pgpObEhO8E6qd.pgp
Description: PGP signature

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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

Reply via email to