• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Bug report: custom period in monitoring graphs

Scheduled Pinned Locked Moved Traffic Monitoring
bugmonitoring
5 Posts 2 Posters 809 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    beerguzzle
    last edited by Feb 21, 2023, 2:09 PM

    Using the "custom period" in Status/monitoring generates an error and a PHP stack error. This is version 23.01 on a Netgate 1100. The error:

    9:02:36 PHP ERROR: Type: 1, File: /usr/local/www/rrd_fetch_json.php, Line: 149, Message: Uncaught TypeError: Unsupported operand types: string - null in /usr/local/www/rrd_fetch_json.php:149
    Stack trace:
    #0 {main}
    thrown

    The GUI screenshot after the error:
    Screenshot 2023-02-21 at 9.03.03 AM.png

    BTW, why is there no "bug reports" category in the pfsense topics list?

    Netgate 1100 and Netgate 2100, latest pfsense+ version

    1 Reply Last reply Reply Quote 0
    • J jimp moved this topic from webGUI on Feb 21, 2023, 4:17 PM
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Feb 21, 2023, 4:19 PM

      What exactly did you input in all of those fields?

      Is it exactly as shown in the screenshot?

      There is no "bug reports" section because many times people report "bugs" that are actually misconfigurations or other misunderstandings, so it's best to keep threads in their own relevant sections and not try to group them in that way. Once something is determined to be a bug it would go in Redmine.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • B
        beerguzzle
        last edited by Feb 21, 2023, 8:14 PM

        What you see in the screen shot is what I put in. Note that the end date is blank. If I put in an end date, then no error is thrown. So.... The actual bug is that no value is predefined for a blank entry for either the start or end date and/or there is no error test for a blank entry. For the end date, a predefined value of "now" would be nice for a blank value (which is what I was trying to do here). For a blank start date, it should complain and not crash. I realize this feature is beta, now I know why.

        Netgate 1100 and Netgate 2100, latest pfsense+ version

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Feb 22, 2023, 1:46 PM

          Did that ever work?

          The PHP error is almost certainly new, but did that same sort of query work in older versions?

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • B
            beerguzzle
            last edited by Feb 22, 2023, 2:20 PM

            I had never used the custom feature before 23.01, so I don't know if it had worked previously or not. If not, then a blank end date defaulting to "now", or an option to select "now, would be a nice enhancement.

            I spent last Fall updating an entire website from PHP 7.4 to 8.1, a month of tedium trying things, looking at the syslogs, fix, try again, etc. What a pain... I am still finding PHP warnings and deprecations in my logs that I have to chase.

            Netgate 1100 and Netgate 2100, latest pfsense+ version

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received