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:
VVelox
2017-12-30 05:39:20 -06:00
committed by Neil Lathwood
parent 7d0ad5c4ef
commit 0e13e77c5f
3 changed files with 22 additions and 13 deletions

View File

@@ -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";