mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix - Seperate default poller id and distributed poller groups (#11584)
* Seperate Setting for default poller id * revert change * Travis restart * fixes
This commit is contained in:
@@ -42,7 +42,7 @@ class PollerGroup extends Model
|
||||
|
||||
static::deleting(function (PollerGroup $pollergroup) {
|
||||
// handle device pollergroup fallback to default poller
|
||||
$default_poller_id = \LibreNMS\Config::get('distributed_poller_group');
|
||||
$default_poller_id = \LibreNMS\Config::get('default_poller_group');
|
||||
$pollergroup->devices()->update(['poller_group' => $default_poller_id]);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user