Home Directory Addons Security check_portsentry

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_portsentry

Rating
0 votes
Favoured:
0
Current Version
1.2
Compatible With
  • Nagios 4.x
Owner
License
GPL
Hits
2089
Nagios CSP

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!
Quick and simple check for number of portsentry bans in /var/lib/portsentry/portsentry.blocked.{tcp|atcp}. Detects if running in atcp or tcp mode and reads appropriate logfile.
Usage: check_portsentry_bans -w [warn] -c [crit]
---


object CheckCommand "check_portsentry_bans" {
import "plugin-check-command"
command = [ PluginDir + "/check_portsentry_bans" ]
arguments += {
"-w" = {
order = 1
value = "$portsentry_warn$"
required = true
}
"-c" = {
order = 2
value = "$portsentry_crit$"
required = true
}
}
}