mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
Fix for PFSense state table removals field (#13863)
This commit is contained in:
parent
427438a08f
commit
ac11177beb
@ -85,11 +85,11 @@ class Pfsense extends Unix implements OSPolling
|
||||
$this->enableGraph('pf_inserts');
|
||||
}
|
||||
|
||||
if (is_numeric($oids[0]['pfStateTableCount'] ?? null)) {
|
||||
if (is_numeric($oids[0]['pfStateTableRemovals'] ?? null)) {
|
||||
$rrd_def = RrdDefinition::make()->addDataset('removals', 'COUNTER', 0);
|
||||
|
||||
$fields = [
|
||||
'removals' => $oids[0]['pfStateTableCount'],
|
||||
'removals' => $oids[0]['pfStateTableRemovals'],
|
||||
];
|
||||
|
||||
$tags = compact('rrd_def');
|
||||
|
Loading…
Reference in New Issue
Block a user