SMS notification commands

Peter Hallam nagios at inatick.com
Fri Nov 30 05:32:39 CET 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071130/86a510db/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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