54 lines
1.7 KiB
Markdown
54 lines
1.7 KiB
Markdown
# Centreon (or Nagios) Plugin for the speedtest
|
|
|
|

|
|
|
|
probe to extract a large amount of information to validate the internet bandwidth.
|
|
|
|
## Installation
|
|
|
|
- Copy the script in the ***"/usr/lib/centreon/plugin"*** folder
|
|
|
|
#### Installation of the speedtest
|
|
|
|
- Download the source on its website : https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz
|
|
- Positioned the source here: ***"/usr/lib/centreon/plugin/speedtest/"***
|
|
<br />
|
|
- Identify your reference server
|
|
`./speedtest -L`
|
|
|
|
## Usage
|
|
+ Usage `./Check-SpeedTest.sh -c 700 -w 800 -C 100 -W 250 -l 28073 -p TRUE -m 1000 -M 300` (normal mode)
|
|
+ Usage `./Check-SpeedTest.sh -c 700 -w 800 -C 100 -W 250 -l a -p TRUE -m 1000 -M 300` (automatic mode)
|
|
<br />
|
|
+ ***-h***
|
|
Display this message
|
|
+ ***-w***
|
|
Download Warning Level
|
|
+ ***-c***
|
|
Upload Warning level
|
|
+ ***-W***
|
|
Warning level of the Upload
|
|
+ ***-C***
|
|
Upload Crtique alert level
|
|
+ ***-l***
|
|
Location of the speedtest server
|
|
+ ***-p***
|
|
Output performance data
|
|
+ ***-m***
|
|
Maximum Download Level
|
|
+ ***-M***
|
|
Upload Level Maximum
|
|
+ ***-v***
|
|
show the version of the plugin
|
|
+ ***-V***
|
|
Debugging information for tests
|
|
|
|
## Centreon
|
|
|
|

|
|
|
|
## More info
|
|
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/?p=1837)
|
|
|
|
## Buy me a coffe
|
|
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> |