I’m trying to understand alerting templates and i have created alert rule from collection - Portstatus up/down. I’m using default template and attached rule to it.
When alert fires only thing i see in the text message(SMS) is the alert title.
SMS is a short message so most probably you cannot send all that data.
You have to check what your SMS provider is expecting, and if only the title is sent, then you have to create a template that write the most important alert information in the title.
Im using smseagle as transport and documentation is pretty simple. Nothing special. When it comes to provider i’d say there should not be an issue since i have another system sending text messages with plenty characters.
I should mention that if i don’t use any template i get messages like this:
Alert for device 10.10.10.10 - Port status up/down
I will look into smseagle log just in case. Is there any log in librenms regarding transport?
It looks like you have only the title which is sent. Never used that transport so I can tell a lot more about it.
Probably a look at the source code would give you answers.
Yes, it is. As I told you, it appears normal to send only the title to a SMS provider, because of the 160 char limit.
That way, a single alert can be detailed in your email, and short in your SMS. So if you want more details in your SMS, add more details in your alert title.