Hello, is there such a plugin in the centreon, a check to check the speed of the Internet. Required metrics: PING ms, DOWNLOAD Mbps, UPLOAD Mbps.
Hi,
Not really. But it could be a nice one!
Do you think using speedtest-cli tool would work for you?
Here is a sample output:
/usr/bin/speedtest-cli --json
{
"download": 1356238076.531529,
"upload": 1309869191.1826591,
"ping": 1.81,
"server": {
"url": "http://speedtest1.blacknight.ie:8080/speedtest/upload.php",
"lat": "53.3498",
"lon": "-6.2603",
"name": "Dublin",
"country": "Ireland",
"cc": "IE",
"sponsor": "Blacknight",
"id": "4604",
"host": "speedtest1.blacknight.ie:8080",
"d": 1.292318731301413,
"latency": 1.81
},
"timestamp": "2022-05-18T11:02:45.424516Z",
"bytes_sent": 151519232,
"bytes_received": 409373932,
"share": null,
"client": {
"ip": "3.251.3.109",
"lat": "53.3382",
"lon": "-6.2591",
"isp": "Amazon.com",
"isprating": "3.7",
"rating": "0",
"ispdlavg": "0",
"ispulavg": "0",
"loggedin": "0",
"country": "IE"
}
}
Tell me if it does the tricks and share what information seems relevant for a monitoring check.
Cheers
Hello
Sorry for the late reply.
I previously installed a similar script called speedtest-cli.
There is no threshold in this script.
As it turned out later, the network admin said that this script uses a lot of traffic.
Please tell me if you have faced this issue.
Hi,
It was a proposal.
We can imagine encapsulate such script in a monitoring plugins with thresholds etc.
I would say this is logic about bandwidth usage because it will try to upload and download as much data as possible during a short period. This is the price to pay to check the up/down speeds.
Thank you very much for your suggestion.
Thanks for the information.
Yours sincerely
Salamov Farkhad.
Hey Salamov,
A new Plugin is out, Pack will be out this thursday.
Check it out here!
Feel free to send any feedback.
Thank you for the information🤗
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.