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

Observium doesn't create graphs anymore

Details

    • Bug
    • Resolution: Not A Bug
    • Minor
    • None
    • Professional Edition
    • None
    • None

    Description

      Observium can't draw graphs anymore for some devices. This error started to occur after I changed the login method to ldap authentication and reverted back to the default cronjob.
      Devices are getting still discovered.
      I already deleted a device and readded it again. But now I'm getting the error "Error Drawing Graph".

      Attachments

        Activity

          [OBS-3386] Observium doesn't create graphs anymore
          landy Mike Stupalov added a comment - - edited

          Really current recomendation is just "do not touch" this settings
          Not sure why you want to change it.
          But only what I can offer undocumented accurate graphs, but you should know, it will extremely increase size of rrd files and rrd dir (over x6 times)!

          // 925kB per DS                           93 days of 5 min         187.5 days of 30 min    366 days of 2 hour       4 years of 1 day
          $config['rrd']['rra']  = "RRA:AVERAGE:0.5:1:26784  RRA:AVERAGE:0.5:6:9000  RRA:AVERAGE:0.5:24:4392  RRA:AVERAGE:0.5:288:1460 ";
          $config['rrd']['rra'] .= "                         RRA:MIN:0.5:6:9000      RRA:MIN:0.5:24:4392      RRA:MIN:0.5:288:1460 ";
          $config['rrd']['rra'] .= "                         RRA:MAX:0.5:6:9000      RRA:MAX:0.5:24:4392      RRA:MAX:0.5:288:1460 ";
          

          P.S. But better really do not change this settings if you not sure how this works

          landy Mike Stupalov added a comment - - edited Really current recomendation is just "do not touch" this settings Not sure why you want to change it. But only what I can offer undocumented accurate graphs, but you should know, it will extremely increase size of rrd files and rrd dir (over x6 times)! // 925kB per DS 93 days of 5 min 187.5 days of 30 min 366 days of 2 hour 4 years of 1 day $config['rrd']['rra'] = "RRA:AVERAGE:0.5:1:26784 RRA:AVERAGE:0.5:6:9000 RRA:AVERAGE:0.5:24:4392 RRA:AVERAGE:0.5:288:1460 "; $config['rrd']['rra'] .= " RRA:MIN:0.5:6:9000 RRA:MIN:0.5:24:4392 RRA:MIN:0.5:288:1460 "; $config['rrd']['rra'] .= " RRA:MAX:0.5:6:9000 RRA:MAX:0.5:24:4392 RRA:MAX:0.5:288:1460 "; P.S. But better really do not change this settings if you not sure how this works

          What are the recommended settings for the rrd part of the config?
          Do I need to configure anything there?
          Our config looks like this at the moment :

          observium-rrd-settings.txt

           

          SSW-Trading GmbH SSW-Trading GmbH added a comment - What are the recommended settings for the rrd part of the config? Do I need to configure anything there? Our config looks like this at the moment : observium-rrd-settings.txt  

          Hrm, wait..

          You was changed default rrd configs?

          $config['rrd']['step'], $config['rrd']['rra']

          I see not our default values in poller:

          RRD CMD[create /opt/observium/rrd/aristar1.ost/status.rrd DS:status:GAUGE:120:0:1 --step 60 RRA:AVERAGE:0.5:0.5:20160 RRA:AVERAGE:0.5:1:89280 RRA:AVERAGE:0.5:1:172800 RRA:AVERAGE:0.5:10:69120 RRA:MIN:0.5:1:89280 RRA:MIN:0.5:1:172800 RRA:MIN:0.5:10:69120 RRA:MAX:0.5:1:89280 RRA:MAX:0.5:1:172800 RRA:MAX:0.5:10:69120 ]
          RRD RUNTIME[0.0014s]
          RRD STDOUT[ERROR: Invalid step 0.5: value has trailing garbage]
          RRD_STATUS[FALSE]
          

          This is why rrd files not created.
          Currently we not support any other step/rra other than default 300s!

          landy Mike Stupalov added a comment - Hrm, wait.. You was changed default rrd configs? $config ['rrd'] ['step'] , $config ['rrd'] ['rra'] I see not our default values in poller: RRD CMD[create /opt/observium/rrd/aristar1.ost/status.rrd DS:status:GAUGE:120:0:1 --step 60 RRA:AVERAGE:0.5:0.5:20160 RRA:AVERAGE:0.5:1:89280 RRA:AVERAGE:0.5:1:172800 RRA:AVERAGE:0.5:10:69120 RRA:MIN:0.5:1:89280 RRA:MIN:0.5:1:172800 RRA:MIN:0.5:10:69120 RRA:MAX:0.5:1:89280 RRA:MAX:0.5:1:172800 RRA:MAX:0.5:10:69120 ] RRD RUNTIME[0.0014s] RRD STDOUT[ERROR: Invalid step 0.5: value has trailing garbage] RRD_STATUS[FALSE] This is why rrd files not created. Currently we not support any other step/rra other than default 300s!

          Thanks for the quick reply! I added the screenshots.

          SSW-Trading GmbH SSW-Trading GmbH added a comment - Thanks for the quick reply! I added the screenshots.

          Thanks for debug info, but this was an automatic answer

          Please take additional steps regarding your problem:

          • open any broken graph (with "Error Drawing Graph", ie "Device avialability")
          • click on "RRD Command" link (top right)
          • make screenshot of this page.
          landy Mike Stupalov added a comment - Thanks for debug info, but this was an automatic answer Please take additional steps regarding your problem: open any broken graph (with "Error Drawing Graph", ie "Device avialability") click on "RRD Command" link (top right) make screenshot of this page.
          SSW-Trading GmbH SSW-Trading GmbH added a comment - - edited

          I've attached the required information. Those are just a few of the devices, that aren't working properly. 

          SSW-Trading GmbH SSW-Trading GmbH added a comment - - edited I've attached the required information. Those are just a few of the devices, that aren't working properly. 

          Please make and attach additional information about the device:

          • full snmp dump from device:

            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

            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:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          Note, this comment is added automatically.

          bot Observium Bot added a comment - Please make and attach additional information about the device: full snmp dump from device: 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 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: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files Note, this comment is added automatically.

          People

            landy Mike Stupalov
            SSW-Trading GmbH SSW-Trading GmbH
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: