mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Fail2ban polling update and dropping of the FW checking (#7936)
* Update polling and drop the firewalled bit. Since fail2ban on FreeBSD has moved to using anchors, the previous issue of it dreking all over its self is no longer a problem. And AFAIK it has never been an issue on Linux. This also makes this script more cross platform as well instead. * change the name of the graph of the total banned so people don't have to remove old file * go back to the original RRD and just shove U into the no longer data area
This commit is contained in:
@@ -21,12 +21,6 @@ if (is_file($rrd_filename)) {
|
||||
'ds' => 'banned',
|
||||
'colour' => '582A72'
|
||||
),
|
||||
array(
|
||||
'filename' => $rrd_filename,
|
||||
'descr' => 'Firewalled',
|
||||
'ds' => 'firewalled',
|
||||
'colour' => '28774F'
|
||||
)
|
||||
);
|
||||
} else {
|
||||
echo "file missing: $rrd_filename";
|
||||
|
Reference in New Issue
Block a user