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

1 day graph from/to show epoch+0 (1970) when opened without from/to in URL

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      Before when opening a graph the from and to dates were set to the graph start/end times when graph was opened without from/to times in the URL. The graph then shows default 1 day graph.

      Now they are both set to epoch+0 / 1970-01-01.

       

      This behavior is visible when we come to Observium from an outside link that does not include any from/to times in the URL, just a minimal link like https://observium.example.com/graphs/type=x/id=y/ and the result graph then seems to default to a 1 day graph. But the from/to times are not correctly set to "current time - 1 day" and "current time". They are both set to epoch+0 instead.

      They used to be set right before I think.

       

      Attachments

        Activity

          [OBS-4091] 1 day graph from/to show epoch+0 (1970) when opened without from/to in URL
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          adama Adam Armstrong made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          adama Adam Armstrong made changes -
          Status Original: Pending Response [ 10000 ] New: In Progress [ 3 ]
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          vojamo Ville Ojamo made changes -
          Attachment New: image-2022-04-26-08-26-38-336.png [ 19743 ]
          adama Adam Armstrong made changes -
          Attachment New: image-2022-04-25-15-16-18-708.png [ 19742 ]
          adama Adam Armstrong made changes -
          Comment [ _*General questions and device support can be discussed in [our Discord channel, click here to join|https://discord.gg/GjpNXKWm8W].*_
          ----

          Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> -t 3 -Cc --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}_This comment is added automatically._{color} ]
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          vojamo Ville Ojamo created issue -

          People

            adama Adam Armstrong
            vojamo Ville Ojamo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: