Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3290

Support for speedtest-cli App for unix-agent added

Details

    • Improvement
    • Resolution: Unresolved
    • Trivial
    • None
    • Professional Edition
    • Poller
    • Debian, Ubuntu

    Description

      Here is the support for SPEEDTEST® by OOKLA®

      https://www.speedtest.net/de/apps/cli

       

      How To:

      • install speedtest cli as documented on ookla's website
      • add new cronjob for recurring speedtest
      • be happy about your bandwidth statistics

       

      cronjob to run every 5 minutes:

      1,6,11,16,21,26,31,36,41,46,51,56 * * * * root /usr/bin/speedtest -f json-pretty > /tmp/speedtest.json

       

      alternatively every 15 minutes:

      1,16,31,46 * * * * root /usr/bin/speedtest -f json-pretty > /tmp/speedtest.json

       

      or every hour:

      1 * * * * root /usr/bin/speedtest -f json-pretty > /tmp/speedtest.json

       

      Note: Don't run it together with OBS poller.php! Because the unix-agent will read an empty speedtest.json, because the test takes some seconds to complete 

      Attachments

        1. speedtest_x2.png
          speedtest_x2.png
          0.8 kB
        2. speedtest.patch
          9 kB
        3. speedtest.png
          speedtest.png
          0.5 kB

        Activity

          [OBS-3290] Support for speedtest-cli App for unix-agent added
          landy Mike Stupalov made changes -
          Comment [ Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
          {noformat}
            _If device not support SNMP version 2c, replace -v2c with -v1._

           * If you have problems with discovery or poller processes, please do and attach these debugs:
          {noformat}
          ./discovery.php -d -h <device>
          ./poller.php -d -h <device>
          {noformat}
           
          * additionally attach device and/or vendor specific MIB files

          {color:#505F79}_Note, this comment is added automatically._{color} ]
          FloMeyer Florian Meyer made changes -
          Attachment New: speedtest.patch [ 17335 ]
          FloMeyer Florian Meyer made changes -
          Attachment Original: speedtest.patch [ 17333 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          landy Mike Stupalov made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          FloMeyer Florian Meyer created issue -

          People

            landy Mike Stupalov
            FloMeyer Florian Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: