Skip to content

Commit 4d05f06

Browse files
authored
If alerting is disabled, show that on polling (librenms#18628)
* If alerting is disabled, show that on polling * Update CheckAlerts.php * Add log for alerting disabled condition
1 parent 3c3e725 commit 4d05f06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Listeners/CheckAlerts.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public function __construct()
2828
public function handle(DevicePolled $event): void
2929
{
3030
if (LibrenmsConfig::get('alert.disable')) {
31+
Log::info('#### Alerting disabled ####');
32+
3133
return;
3234
}
3335

0 commit comments

Comments
 (0)