Alert Rule not using assigned Template

In the last two days, alert rules have stopped using their assigned templates and are instead using the default template. I’ve attempted to remove their template assignment and set it again, but the behavior doesn’t change. When I look at the database, I see the correct assignments, so I’m not sure why it isn’t working.

Database contents: Database - LibreNMS

====================================
Component | Version
--------- | -------
LibreNMS  | 22.7.0-36-gb12400861
DB Schema | 2022_07_03_1947_add_app_data (244)
PHP       | 8.1.8
Python    | 3.8.10
Database  | MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
RRDTool   | 1.7.2
SNMP      | 5.8
====================================

[OK]    Composer Version: 2.3.10
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]
[OK]    Database schema correct
[OK]    MySQl and PHP time match
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrdtool version ok
[OK]    Connected to rrdcached

The solution here: After PHP 8.1 Upgrade my alert templates are not working - #8

TLDR; strings in alert templates need ‘quotes’ around them. Numbers do not.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.