modem notification.

Upayavira uv at upaya.co.uk
Thu Apr 29 21:47:05 CEST 2004


Dycus, Eric wrote:

>  
> I have looked and loked and tried and tired. Now I need help.
> Looking for a way that to make Nagios dial a modem as part of the 
> notification.
> I just want it to dial a number and make the phone ring.
> I used wvdial and it works but everytime I put it in the script 
> miscommands to run it doesn't ( I'm guessing because it want to send 
> output to the screen ans can't)
>  
> here is my miscommands
>  
> ------------------------------------------------------------
> # 'notify-by-epager' command definition
>
> define command{
>
> command_name notify-by-epager
>
> command_line /usr/bin/wvdial wvdial --config /etc/wvdial.conf
>
> }
>
What user is Nagios running as? Try logging in as that user and seeing 
if the command works from the command line. Might be, for example, that 
/etc/wvdial.conf isn't accessible by the nagios user.

Regards, Upayavira





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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