mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix for PFSense state table removals field (#13863)
This commit is contained in:
@@ -85,11 +85,11 @@ class Pfsense extends Unix implements OSPolling
|
|||||||
$this->enableGraph('pf_inserts');
|
$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);
|
$rrd_def = RrdDefinition::make()->addDataset('removals', 'COUNTER', 0);
|
||||||
|
|
||||||
$fields = [
|
$fields = [
|
||||||
'removals' => $oids[0]['pfStateTableCount'],
|
'removals' => $oids[0]['pfStateTableRemovals'],
|
||||||
];
|
];
|
||||||
|
|
||||||
$tags = compact('rrd_def');
|
$tags = compact('rrd_def');
|
||||||
|
Reference in New Issue
Block a user