SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Thu Oct 29, 2020 04:52
SMSTools3 Community » Help and support Bottom

Nagios smssend line break?

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jun 2019
Location: Finland
Operating system name and version: CentOS 7.6.1810
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: Will provide later
Interface: USB-RS232

Hello everybody. I'm trying to configure SMS alerting for Nagios Core and I've almost succeeded, however, I can't for my life figure out how to start a new line when sending a text message via smssend. Here is an example of a command I'm using to send an SMS alert, how can I eg. divide "Host" and "State" on different lines?



Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
The script sendsms supports single line only. I assume that smssend in CentOS is the same.

You could create a message file directly. There are several possibilities for that. I have used this:



\n starts a new line, as you likely knew, but it did not work with smssend.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.