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

Traffic accounting is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Billing
    • None

    Description

      Traffic accounting has issues.

      If using the following cron, all bills remain at 0 (nothing gets processed)
      */5 * * * * observium /opt/observium/observium-wrapper billing >> /dev/null 2>&1
      01 * * * * observium /opt/observium/billing-calculate.php >> /dev/null 2>&1

      If using the following crong, some bills will randomly move to 0, and then back. Data is just unreliable, one refresh to another, data is not consistant.
      See screenshots, taken a few minutes appart.
      */5 * * * * observium /opt/observium/observium-wrapper billing >> /dev/null 2>&1
      */5 * * * * observium /opt/observium/billing-calculate.php >> /dev/null 2>&1

      Export of ./discovery.php -VV

      fabric@monitor:/opt/observium$ ./discovery.php -VV
      Observium 24.2.13353
       
      #####  Software versions  #####
       
       o OS                   Linux 4.15.0-213-generic [amd64] (Ubuntu 18.04)
       o Apache               2.4.29
       o PHP                  7.2.24-0ubuntu0.18.04.17 (OPcache: DISABLED)
       o Python               3.6.9 (python3 not used as default python)
       o MySQL                5.7.42-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
       o SNMP                 NET-SNMP 5.7.3
       o RRDtool              1.7.0
       o Fping                4.0 (IPv4 and IPv6)
       o Fetch                PHP fetch
       
      #####  Memory Limit  #####
       
       o PHP                  Unlimited
       
      #####  DB info  #####
       
       o DB schema            492
       o MySQL binlog         OFF
       o MySQL mode           NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
       
      #####  Charset info  #####
       
       o PHP                  UTF-8
       o MySQL                utf8
       
      #####  Timezones info  #####
       
       o Date                 Saturday, 02-Mar-24 11:29:15 EST
       o PHP                  -05:00
       o MySQL                -05:00
      

      Attachments

        1. Capture.PNG
          Capture.PNG
          56 kB
        2. Capture2.PNG
          Capture2.PNG
          59 kB
        3. screenshot-1.png
          screenshot-1.png
          75 kB

        Activity

          People

            adama Adam Armstrong
            kmorin Karl Morin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: