mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global * remove unused things * fix some additional graphs * Fix graphs persisting too soon * correct name for poller module performance graph * only one type of graph is used here
This commit is contained in:
@@ -43,7 +43,7 @@ if (is_numeric($users)) {
|
||||
|
||||
$tags = compact('rrd_def');
|
||||
data_update($device, 'pulse_users', $tags, $fields);
|
||||
$graphs['pulse_users'] = true;
|
||||
$os->enableGraph('pulse_users');
|
||||
}
|
||||
|
||||
$sessions = snmp_get($device, 'iveConcurrentUsers.0', '-OQv', 'PULSESECURE-PSG-MIB');
|
||||
@@ -57,7 +57,7 @@ if (is_numeric($sessions)) {
|
||||
|
||||
$tags = compact('rrd_def');
|
||||
data_update($device, 'pulse_sessions', $tags, $fields);
|
||||
$graphs['pulse_sessions'] = true;
|
||||
$os->enableGraph('pulse_sessions');
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user