![]() ![]() ![]() With “speedtest –list | less” we get the closest servers, ID or URL aim that most interested us check.ġ0512) Sarenet (Zamudio, Spain) ĥ161) you have (Donostia / San Sebastian, Spain) Ĥ158) (Bayonne, France) ġ5961) Sisnet (Pamplona, Spain) ĩ646) KNET (The Rioja, Spain) ġ1431) TeleCable (Gijón, Spain) ģ276) Telecable (Oviedo, Spain) Ĭome and therefore to enlist the Command in Centreon, since “Configuration” > “Commands” > “Add…” we see: Plus, if we want the graphic work we… you have to edit the line 401 and add just after “# append perfout if argument was passed to script” add in the following line: PerfData="TRUE"Īnd finally on the line 406 modify and leave it at that to get into the graphic also the value of latency, if you look only spends download and upload speed: perfout="|'latency'=$ping 'download'=$download $DLw $DLc 0 $(echo $MaxDL*1.05|bc) 'upload'=$upload $ULw $ULc 0 $(echo $MaxUL*1.05|bc)" We lower the script we'll use from: and let the machine Centreon, we move to the path of plugins Centreon and we do executable: mv check_speedtest-cli.sh /usr/lib/centreon/pluginsĮdit the script and the line 175 We modify bST = by bST =”/usr/bin” We set up a requirement that the script we will use will be supported by Centreon: pip install speedtest-cli Very simply, using a script we can do a speed test with a nearby server and monitor it with Centreon, we can receive alerts as long as the bandwidth is lower than the values that interest us! Another curiosity we can do with monitoring is to measure the bandwidth of the Internet connection of our organization. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |