Re: [Nagios-users] SMS notification commands

2007-11-30 Thread mark redding
Hi, A couple of questions for you. 1. When you run this interactively are you doing so from the account that nagios is running under ? This could be the cause if the ssh key information is not present for the 'nagios' account. 2. Have you defined the contact name correctly :- for example, I have

Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Peter Hallam
On Fri, 30 Nov, 15:24 +1000 Nick Pratley wrote: > Thanks for the reply Peter, however that isn't what the problem is in my > case. The /var/spool/sms/outgoing directory on that server is in fact > world-writable. And as I said I can run it from the command line > successfully while logged in as the

Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Nick Pratley
ent: Friday, 30 November 2007 2:33 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] SMS notification commands 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 us

Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Peter Hallam
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

[Nagios-users] SMS notification commands

2007-11-29 Thread Nick Pratley
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