Page 1 of 1

Notification command, send string to serial port

Posted: Mon Mar 02, 2015 8:57 am
by gust102
We have a device, who can be triggered via serial communication, to call or send text message in GSM mobile network.
To trigger this, I just send string 'ALARM$' to serial port:

Code: Select all

/bin/echo 'ALARM$' > /dev/ttyS1
If I do this from the Linux promt (logged in as user nagios), it works fine.

But, if I add this as a notification commad, the notification triggers, but nothing happens.

Does anyone know what could be the problem here?

Re: Notification command, send string to serial port

Posted: Mon Mar 02, 2015 10:09 am
by tmcdonald
Please do not post the same thread twice. We will be closing this thread and continuing in your other thread here: http://support.nagios.com/forum/viewtop ... 639#128363