Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Bandwidth Up and down checker
1
2018-07-19
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
13619
File | Description |
---|---|
check_bandwidth | check_bandwidth |
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!
Example service definition:
define service {
host_name Linux Test
service_description Bandwidth usage
use generic-service
check_command check_nrpe!check_bandwidth!-a '-w 20 -c 10 -ct=10'!!!!!!
max_check_attempts 1
check_interval 1
retry_interval 1
register 1
}
NRPE command:
command[check_bandwidth]=/usr/local/nagios/libexec/check_bandwidth $ARG1$
Reviews (3)
byAlfred027, December 19, 2021
Thank you for this plugin. I have a question: What would be a recommended value for critical and warning. I'm new to this and I'm a little lost.
Tank you!
Tank you!
I've just moified
interface=$( ip route | grep default | awk '{print $5}')
to get default interface.
interface=$( ip route | grep default | awk '{print $5}')
to get default interface.
byArnaquin, July 21, 2018
Thanks I wanted a simple plugin to monitor bandwidth over nrpe. There is a tiny bug tho. If you give a wrong interface you make an OK type exit.