Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Fail2Ban Status

Rating
2 votes
Favoured:
0
Hits
100109
Files:
FileDescription
check_fail2bancheck_fail2ban
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check fail2ban server and give performance output.
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.
Reviews (2)
file size still 0bytes
byppcm, June 13, 2011
1 of 1 people found this review helpful
Something missing: the filesize is 0ko