Sending notifications via SMS+mobile phone

Peter Edmonds termx23 at gmail.com
Sun Apr 27 15:34:48 CEST 2008


On Sat, Apr 26, 2008 at 6:00 AM, Ilya Meylikhov <rage_q3 at mail.ru> wrote:
>  The user which runs nagios (nagios in my case) didn't have the permission to
>  write to the /usr/local/nagios/var/gnokii.log and this user didn't have any
>  permission to use /dev/ttyS0 (so chown nagios:nagios /dev/ttyS0 solved this
>  one).

Hi Ilya,

Glad you solved this one Ilya. I had the exact same issue when I first
setup SMS notifications. It is easy to forget that you need to have
the correct permissions to be able to access files, directories or in
this case devices ! Probably a good idea to put the "chown
nagios.nagios /dev/ttyS0" in rc.local so that the permissions get
changed when the machine boots.

I managed to get voice notifications working via Asterisk if you are
interested. Asterisk calls your phone and reads the notification using
flite.

Peter Edmonds

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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