Skip to content
Snippets Groups Projects
Commit 3cf06162 authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

change(fail2ban): add extension to file and set better thresholds

parent dfb33f61
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ command[check_version]=/usr/lib/nagios/custom-plugins/check_version.sh
{% if inventory_hostname in groups.docker | default([]) and inventory_hostname not in groups.docker_nextcloud | default([]) %}
{% set fail2ban_jails = fail2ban_jails + ['traefik-auth'] %}
{% endif %}
command[check_fail2ban]=/usr/lib/nagios/custom-plugins/check_fail2ban.sh {{ fail2ban_jails | join(',') }}
command[check_fail2ban]=/usr/lib/nagios/custom-plugins/check_fail2ban.sh --warning 250 --critical 500 {{ fail2ban_jails | join(',') }}
{% if inventory_hostname in groups.docker_gitlab | default([]) %}
command[check_procs_sshd]=/usr/lib/nagios/plugins/check_procs -w 4 -c 2: -C sshd -a -D
{% else %}
......
......@@ -4,7 +4,7 @@ nagios_plugins_version: "2.3.3"
plugins_to_download:
- name: check_docker.sh
url: https://sources.le-filament.com/lefilament/nagios-plugin/-/raw/master/check_docker.sh
- name: check_fail2ban
- name: check_fail2ban.sh
url: https://sources.le-filament.com/lefilament/nagios-plugin/-/raw/master/check_fail2ban.sh
- name: check_gitlab.rb
url: https://sources.le-filament.com/lefilament/nagios-plugin/-/raw/master/check_gitlab.rb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment