Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Network traffic monitoring pnp4nagios: https://raw.githubusercontent.com/code4alex/NagiosPlugins/master/check_net_traffic.php
Current Version
Last Release Date
April 30, 2014
Owner
alex wang
Website
https://github.com/code4alex/NagiosPlugins.git
Download URL
https://raw.githubusercontent.com/code4alex/NagiosPlugins/master/check_net_traffic.sh
License
GPL
Compatible With
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/
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
You are right!:>
You must be logged in to submit a review.
To:
From: