
Network Connections, Stats and Bandwidth
FreeBSD network bandwidth
Description:
This is a plugin that returns performance values for network bandwidth on FreeBSD hosts using netstat command.
Current Version
1.0
Last Release Date
2022-08-24
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
BSD
Project Files
File | Description |
---|---|
check_freebsd_net_bandwidth.sh |
Project Notes
This is a bash script that returns performance values for network bandwidth on FreeBSD hosts using netstat 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_freebsd_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]#
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
2,325