sending sms via Gammu

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rsaaris
Posts: 1
Joined: Fri Oct 07, 2011 1:51 am

sending sms via Gammu

Post by rsaaris »

Hello,

I am trying to send sms notifications via remote Gammu SMS gateway using ssh. Sending works from linux command line, using command: echo "test message" | ssh user@host.com /usr/bin/gammu --sendsms TEXT phoneno.
When I try to implement that to defined command's command_line, it doesn't send anything. I am guessing that the | sign is the guilty here. So how can I put echo into a command.conf command_line?
GioFernando55
Posts: 1
Joined: Mon Oct 10, 2011 1:25 pm

Re: sending sms via Gammu

Post by GioFernando55 »

Bumping because I've got a similar problem.
Locked