# 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/"***
- 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)
+ ***-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
