Network and Systems Management

check_net_traffic.sh

Description:

Network traffic monitoring
pnp4nagios:
https://raw.githubusercontent.com/code4alex/NagiosPlugins/master/check_net_traffic.php

Current Version

Last Release Date

April 30, 2014

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Owner

License

GPL


Project Photos
Project Notes
1. Add nrpe commands to nrpe.cfg echo 'command [check_net_traffic]=/usr/local/nagios/libexec/check_net_traffic.sh -d eth0 -w 7m -c 10m' >> /usr/local/nagios/etc/nrpe.cfg Description: -d is the name of the interface(eth0;bond0) to be monitored -w -c is set threshold, only b, k, m, g, the case may be, the unit is B (bytes), should be noted that this threshold is upstream (upload) and downstream (download) the sum. Note: 1. first run the script, sets the current value of the card is written to the relevant temporary file, temporary files are stored in /usr/local/nagios/libexec/
Reviews (1) Add a Review
very nice,thanks
by hunter, May 31, 2014

There is no necessary spaces, 1. Add nrpe commands to nrpe.cfg echo 'command [check_net_traffic] = /usr/local/nagios/libexec/check_net_traffic.sh -d eth0 -w 7m -c 10m' >> /usr/local/nagios/etc/nrpe.cfg I think it should be like this, echo 'command[check_net_traffic]=/usr/local/nagios/libexec/check_net_traffic.sh -d eth0 -w 7m -c 10m' >> /usr/local/nagios/etc/nrpe.cfg



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
4 (2)
Favorites
1
Views
26,853