Home Directory Plugins Operating Systems Linux check open ports on nagios

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 open ports on nagios

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2017-10-31
Compatible With
  • Nagios 4.x
  • Nagios XI
Hits
11901
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!
This is an initial effort to write a plugin that looks at the open ports on a host and verifies if the ports are white-listed. The white listed ports can be passed using
-l option : allowed ports must be separated by commas
ex : check_openPorts.py -l 22,443,8089
-c option : config must contain list of allowed ports separated by commas
ex : check_openPorts.py -c /etc/allowdPorts.txt
example of the config file configuration cat /etc/allowdPorts.txt : 11491,12858,12866,15134,15199