Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Linux Check PPS, BPS, or Current Line Rate % of NIC
2014-05-15
- Nagios 3.x
- Nagios 4.x
- Nagios XI
28013
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!
from Linux kernel statistics by reading from procfs and notifies if above a given threshold.
Nagios plug-in that calculates receiving PPS, BPS, and percentage of line-rate (LR) from Linux kernel statistics by reading from procfs and reports if above a given threshold.
Options:
-i Network interface
-p Use PPS as criteria
-b Use BPS as criteria
-r Use percentage of line-rate as criteria
-t Time interval in seconds (def: 1)
-w Warning threshold
-c Critical threshold
###########
# Examples: #
###########
# 1.) Return critical if there's more than 10k PPS
# $ ./check_pps.sh -i eth0 -w 8000 -c 10000 -p
#
# 2.) Return critical if there's more than 1m BPS
# $ ./check_pps.sh -i eth0 -w 500000 -c 1000000 -b
#
# 2.) Return critical if we've reach 70% of the NIC's line-rate capacity
# $ ./check_pps.sh -i eth0 -w 50 -c 70 -r
Options:
-i Network interface
-p Use PPS as criteria
-b Use BPS as criteria
-r Use percentage of line-rate as criteria
-t
-w
-c
###########
# Examples: #
###########
# 1.) Return critical if there's more than 10k PPS
# $ ./check_pps.sh -i eth0 -w 8000 -c 10000 -p
#
# 2.) Return critical if there's more than 1m BPS
# $ ./check_pps.sh -i eth0 -w 500000 -c 1000000 -b
#
# 2.) Return critical if we've reach 70% of the NIC's line-rate capacity
# $ ./check_pps.sh -i eth0 -w 50 -c 70 -r
Reviews (0)
Be the first to review this listing!