Network Connections, Stats and Bandwidth

Bandwidth Up and down checker

Description:

This plugins monitor the average bandwidth utilisation over N seconds. The script is executed on the localhost, reading interface statistics files. To use with NRPE or other agent.

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$

Current Version

1

Last Release Date

2018-07-19

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Project Files
Project Photos
Project Notes
Reviews (3) Add a Review
Excelent Plugin
by Alfred027, December 31, 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!



Very nice
by riberic, August 31, 2019

I've just moified interface=$( ip route | grep default | awk '{print $5}') to get default interface.



Simple and efficace
by Arnaquin, July 31, 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.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (5)
Favorites
1
Views
13,604