Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rennancockles/nagios_check_int_bandwidth_percent
Script to check the interface bandwidth usage in percents
https://github.com/rennancockles/nagios_check_int_bandwidth_percent
Last synced: 14 days ago
JSON representation
Script to check the interface bandwidth usage in percents
- Host: GitHub
- URL: https://github.com/rennancockles/nagios_check_int_bandwidth_percent
- Owner: rennancockles
- Created: 2017-08-31T14:41:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T18:29:40.000Z (over 7 years ago)
- Last Synced: 2024-11-08T13:18:44.533Z (about 2 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nagios_check_int_bandwidth_percent
Script to check the interface bandwidth usage in percents
## Usage
Usage: check_int_bandwidth_percent HOSTADDR IF_NAME COMMUNITY DIRECTION LINK_SPEED
HOSTADDR = Host IP address
IF_NAME = Interface name
COMMUNITY = SNMP Community
DIRECTION = Traffic direction - IN or OUT
LINK_SPEED = Link speed in Mbps: 10Gbps = 10000
## Using with nagios
To use with nagios, copy the script to /usr/lib64/nagios/plugins/.
Edit the command file in /etc/nagios/conf.d:
```
define command{
command_name check_int_bandwidth_percent
command_line $USER1$/check_int_bandwidth_percent $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}
```