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

check_traffic_ipfwcount

Rating
0 votes
Favoured:
0
Hits
92936
Files:
FileDescription
check_traffic_ipfwcount.shcheck_traffic_ipfwcount.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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