Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Fail2Ban Status
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This script will check if the fail2ban server is running. If it is up it will give some performance data that can be parsed by PNP for example. The script is written in bash and should run with any Nagios version. Use NRPE to call it on remote machines. Be sure to add nagios to the sudoers file:
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client
Adjust the paths accordingly inside the script.
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client
Adjust the paths accordingly inside the script.