Notification command, send string to serial port
Posted: Mon Mar 02, 2015 8:57 am
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:
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?
To trigger this, I just send string 'ALARM$' to serial port:
Code: Select all
/bin/echo 'ALARM$' > /dev/ttyS1But, if I add this as a notification commad, the notification triggers, but nothing happens.
Does anyone know what could be the problem here?