issue with SMS +9190xxxx (+) symbol its not support

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
daniel_david26
Posts: 3
Joined: Wed Aug 13, 2014 10:41 am

issue with SMS +9190xxxx (+) symbol its not support

Post by daniel_david26 »

When I send SMS international format Like +9199xxxxxxx its not working because symbol + not support Nagios. If i sending the local SMS without + symbol its working fine. Please help any one

Thanks and Regards
Daniel.E
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by tmcdonald »

Please post the command definition that you are using to send SMS. Also, did you try escaping it with \+ instead of + only?
Former Nagios employee
daniel_david26
Posts: 3
Joined: Wed Aug 13, 2014 10:41 am

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by daniel_david26 »

Dear Support Team
I used the below mention command in the nagios server but still iam not getting sms. Please help any one

echo "nagios test" | mailx -s +919940381543@sms.ych.com "Nagios test"

and i tried this command also echo "nagios test" | mailx -s \+919940381543@sms.ych.com "Nagios test" but no luck.

Thanks & Regards
Daniel.E
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by eloyd »

Try:

Code: Select all

mailx -s "+919940381543@sms.ych.com" "Nagios test"
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by tmcdonald »

Also, it might accept the number without the + in front at all.
Former Nagios employee
daniel_david26
Posts: 3
Joined: Wed Aug 13, 2014 10:41 am

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by daniel_david26 »

still its not working. Please give me solution any one?

Thanks & Regards
Daniel.E
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: issue with SMS +9190xxxx (+) symbol its not support

Post by tmcdonald »

What specifically is not working? Can you show us the exact commands you are running and the output they show? If there are any error messages those would be nice to see.
Former Nagios employee
Locked