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_traffic_ipfwcount

Rating
0 votes
Favoured:
0
Hits
96101
Files:
FileDescription
check_traffic_ipfwcount.shcheck_traffic_ipfwcount.sh
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!
check_traffic_ipfwcount monitors bandwidth usage of a particular IP address using the ipfw internal counters
check_traffic_ipfwcount.sh 0.1
2007-05-19 Eric Cronin
PUBLIC DOMAIN

Description:
check_traffic_ipfwcount monitors bandwidth usage of a particular
IP address using the ipfw internal counters. Insert a pair of
rules of the format:

count ip from 1.2.3.4 to any
count ip from any to 1.2.3.4

in your firewall config. Use 'ipfw show' to read the counters.
Usage:
check_traffic_ipfwcount.sh counterlog checkip warnin warnout warnsum critin
critout critsum
Description:
counterlog is a text file containing the counter output from ipfw show
checkip is the ip to return stats for
*in/*out/*sum are the alert thresholds in bytes. -1 to ignore check