Skip to content

Commit

Permalink
Make the unpolled devices toast point to the unpolled devices page (l…
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMysteriousX authored Dec 10, 2024
1 parent 25c5233 commit 53f0a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function postAuth()
$warn_sec = Config::get('rrd.step', 300) * 3;
if (Device::isUp()->where('last_polled', '<=', Carbon::now()->subSeconds($warn_sec))->exists()) {
$warn_min = $warn_sec / 60;
toast()->warning('Devices unpolled', '<a href="poller/log?filter=unpolled/">It appears as though you have some devices that haven\'t completed polling within the last ' . $warn_min . ' minutes, you may want to check that out :)</a>');
toast()->warning('Devices unpolled', '<a href="poller/log?filter=unpolled">It appears as though you have some devices that haven\'t completed polling within the last ' . $warn_min . ' minutes, you may want to check that out :)</a>');
}

// Directory access checks
Expand Down

0 comments on commit 53f0a87

Please sign in to comment.