I have email and Slack alerts setup, but since 1.49 alerts don’t fill in the variables. When an alert gets sent it looks like
%hostname Severity: %severity {if %state == 0}Time elapsed: %elapsed {/if}Timestamp: %timestamp Unique-ID: %uid Rule: {if %name}%name{else}%rule{/if} {if %faults}Faults: {foreach %faults} #%key: %value.string {/foreach}{/if}Alert sent to: {foreach %contacts}%value
I tried recreating the alerts and I recreated the transports with no luck. I am using the default “macros.device_down = 1” template.
====================================
Component | Version |
---|---|
LibreNMS | 1.49 |
DB Schema | 2019_02_10_220000_add_dates_to_fdb (132) |
PHP | 7.2.15-1+ubuntu16.04.1+deb.sury.org+1 |
MySQL | 10.0.36-MariaDB-0ubuntu0.16.04.1 |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct