Hi, guys , im trying to customize my port utilization template:
here is what I have so far (wich is working ok):
"************Notificacion de librenms************"
{{ $alert->title }}
@if ($alert->state == 1)
Alarma activa
Severidad: {{ $alert->severity }}
Inicio de la alarma: {{ $alert->timestamp }}
Duracion de la alarma: {{ $alert->elapsed }}
@endif
I this alarm is triggered when port usage goes bellow 1%.
So I would like to add port usage info to template,
After reading documentation , tryed adding:
Inbound Utilization: {calc ((%value.ifInOctets_rate*8)/%value.ifSpeed)100}%
Outbound Utilization: {calc ((%value.ifOutOctets_rate8)/%value.ifSpeed)*100}%
But can not get placeholders expanded, neither simple %title placeholder works.
Is it something wrong im doing?
Im using version:
1.55-45-gee2a847 - Wed Sep 25 2019 23:51:07 GMT-0300](http://www.librenms.org/changelog.html)
Other , is there some way to print all alarm object content?
Regards,
Leandro.