Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This is a plugin that returns performance values for network bandwidth on FreeBSD hosts using netstat command. With version 1.1, the plugin is now compatible with Solaris/illumos hosts using nicstat command.
Current Version
1.1
Last Release Date
2025-05-23
Owner
Dominique Gagnon
License
BSD
Compatible With
This is a bash script that returns performance values for network bandwidth on FreeBSD hosts using netstat command and on Solaris/illumos hosts using nicstat command. The plugin doesn't monitor anything. It just returns the in and out values in bits or bytes for use with pnp4nagios or other graphing tools. The plugin is compatible with the following pnp4nagios template:
https://github.com/mclarkson/check_iftraffic_nrpe.sh/blob/master/check_iftraffic_nrpe.sh.php
It will return OK if netstat command has been run successfully and UNKNOWN otherwise. I've made this because I couldn't get performance info reliably with SNMP on FreeBSD.
Example:
[root@server nagios]# ./check_net_bandwidth.sh bge0 --bits OK - In and out values in bits/s have been generated from netstat command. | in-bge0=7504 out-bge0=7952 [root@server nagios]#
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!