rework: enhance fail2ban Icinga2 check with new bans threshold#4
rework: enhance fail2ban Icinga2 check with new bans threshold#4JoyG1024 wants to merge 2 commits inton1tr0-5urf3r:masterfrom
Conversation
- Added monitoring for new bans within a configurable time window (-m/-r/-R) - Cleaned output for proper Icinga2 format - Simplified per-jail display, removed IP list by default - Retained total banned IPs monitoring with warning/critical thresholds - Adjusted defaults to match site-specific values
- Default output remains in the original format. - New "-q" option provides a compact Nagios-style view. - Note: these changes require read access to the fail2ban log files.
|
Added the -q option for the new short version |
|
Thanks for your PR! I will hopefully find the time to review your changes in the next days |
|
@JoyG1024 after finally having a look, I'm not sure why you removed the check for the |
|
@n1tr0-5urf3r I am not currently on my work machine but my intention was not to remove checks i most likely forgot them as i toke the code apart checking and playing around and since my machine was not missing the permissions it didn’t come back to mind. |
Note: These changes have been made for personal use and on personal preference and as such may clash with the original creator's vision for the check, thus may be completely discarded