Variables in message title

Hi,

I am playing around wioth the alerting.

So far all works.

But I got one question:

Is there away to edit the title of the messages?
I found the “custon title” option wen editing the alert rules, but it looks like I cannot use variables like “%hostname” in there.

Any ideas?

Try %sysName

image

What happens when you use %hostname or any other variable in the title?

It just interpretes the variable as a normal string.
So %hostname is displayed in title.

Can you screenshot your alert rule and post it here?

I’m pretty certain %hostname works fine in the titles.

I just retested it.
Now it works.
Looks like I had a little typo mistake in it.

Thanks to all for your help!

%hostname stopped working, apparently deprecated fully now.

Changed to LibreNMS ({{ $alert->hostname }})
works like expected!