Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_ufw (edouard.lamoine)
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!
Tested under Ubuntu 10
Plugin made by Edouard Lamoine
This plugin check the local UFW status.
Copy the plugin in the nagios plugins directory (here we assume it's /usr/lib/nagios/plugins/)
Usage: ./check_ufw
Return OK if UFW is active, CRITICAL if unactive, UNKNOWN if unable to detect UFW status.
-Note: you'll need to run the script as root. For running as Nagios user, call the plugin with root privileges.
-> /usr/bin/sudo /usr/lib/nagios/plugins/check_ufw
-You'll have to add permissions in sudoers file:
-> visudo
Below the line:
root ALL=(ALL:ALL) ALL
add
nagios ALL=(root) NOPASSWD: /usr/lib/nagios/plugins/check_ufw
-And of course be sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
Let me know if you experience any problem with it.
This plugin check the local UFW status.
Copy the plugin in the nagios plugins directory (here we assume it's /usr/lib/nagios/plugins/)
Usage: ./check_ufw
Return OK if UFW is active, CRITICAL if unactive, UNKNOWN if unable to detect UFW status.
-Note: you'll need to run the script as root. For running as Nagios user, call the plugin with root privileges.
-> /usr/bin/sudo /usr/lib/nagios/plugins/check_ufw
-You'll have to add permissions in sudoers file:
-> visudo
Below the line:
root ALL=(ALL:ALL) ALL
add
nagios ALL=(root) NOPASSWD: /usr/lib/nagios/plugins/check_ufw
-And of course be sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
Let me know if you experience any problem with it.
Reviews (0)
Be the first to review this listing!