MariaDB [librenms]> select id from alert_rules; +----+ | id | +----+ | 19 | | 27 | | 25 | | 13 | | 15 | | 26 | | 21 | | 20 | | 31 | | 32 | | 33 | | 34 | +----+ 12 rows in set (0.000 sec) MariaDB [librenms]> select id,name from alert_templates; +----+-------------------------------+ | id | name | +----+-------------------------------+ | 4 | HL Default Template | | 5 | Device Rebooted | | 6 | Devices up/down | | 7 | Interface speed low | | 8 | AirFiber link capacity low | | 9 | Default Alert Template | | 10 | BGP Session | | 12 | WatchDog Temp/Humidity Sensor | +----+-------------------------------+ 8 rows in set (0.000 sec) MariaDB [librenms]> select * from alert_template_map; +-----+--------------------+---------------+ | id | alert_templates_id | alert_rule_id | +-----+--------------------+---------------+ | 159 | 4 | 20 | | 158 | 4 | 21 | | 157 | 4 | 26 | | 165 | 5 | 25 | | 166 | 6 | 13 | | 94 | 7 | 15 | | 29 | 8 | 19 | | 164 | 9 | 0 | | 92 | 10 | 27 | | 149 | 12 | 31 | | 150 | 12 | 32 | | 151 | 12 | 33 | | 152 | 12 | 34 | +-----+--------------------+---------------+ 13 rows in set (0.000 sec)