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

    NEW Monitoring graph

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    168 Posts 28 Posters 91.8k 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.
    • jdillardJ
      jdillard
      last edited by

      I just pushed some fixes and bumped the version, the builder will pick them up next time around.

      Things I fixed (and remembered):

      • Inpass/Outpass Total timeline errors on i386 (integer overflow, yay!)

      • Improved Summary units (could be improved further, but a big step in customization)

      • Added reset RRD data option

      • Added ability to turn on/off RRD Graphing option

      • Added NOYB's PR with resolution options (pretty sweet)

      • Changed bytes to bits so traffic should be more accurate

      • Rounded the y axes to 2 decimal places

      • Fixed the rounding in the tooltip if under .01 so it doesn't show as 0

      Coming soon: Option to save current settings as defaults.

      1 Reply Last reply Reply Quote 0
      • W
        whitexp
        last edited by

        Interactive Graph
        Error: SyntaxError: Unexpected token F

        1 Reply Last reply Reply Quote 0
        • G
          grandrivers
          last edited by

          0.7 monitoring much better , current bugs
          delay should be in ms not S
          not sure why it has -500 ms listed

          ![Screen Shot 2016-03-10 at 1.44.09 PM.png](/public/imported_attachments/1/Screen Shot 2016-03-10 at 1.44.09 PM.png)
          ![Screen Shot 2016-03-10 at 1.44.09 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-03-10 at 1.44.09 PM.png_thumb)
          ![Screen Shot 2016-03-10 at 1.44.38 PM.png](/public/imported_attachments/1/Screen Shot 2016-03-10 at 1.44.38 PM.png)
          ![Screen Shot 2016-03-10 at 1.44.38 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-03-10 at 1.44.38 PM.png_thumb)

          pfsense plus 25.03 super micro A1SRM-2558F
          C2558 32gig ECC  60gig SSD

          1 Reply Last reply Reply Quote 0
          • jdillardJ
            jdillard
            last edited by

            @grandrivers:

            0.7 monitoring much better , current bugs
            delay should be in ms not S
            not sure why it has -500 ms listed

            I think I can get that closer. After I get the defaults working, I'll circle back around.

            That is the same as .5. Axis units still need some customization work, they are all SI formatted now.

            1 Reply Last reply Reply Quote 0
            • jdillardJ
              jdillard
              last edited by

              @whitexp:

              Interactive Graph
              Error: SyntaxError: Unexpected token F

              Did you just upgrade? Are you on 64 or 32bit? What graphs do you have selected?

              In Chrome right click the screen and click Inspect. Then choose the Network tab and refresh the browser. Click the update button on the WebGUI and then you should see a line item with rrd_fetch_json.php at the bottom of the dev tools window. If you click that then choose the response tab within it you should see what the server responded with. Are there any errors in there?

              1 Reply Last reply Reply Quote 0
              • G
                grandrivers
                last edited by

                " they are all SI formatted now."  i dont know if I understand and am a sure at this point it looks harder for most (isp's) i like to have proof of poor service

                dhcp leases graph is missing will that be worked on at some point

                pfsense plus 25.03 super micro A1SRM-2558F
                C2558 32gig ECC  60gig SSD

                1 Reply Last reply Reply Quote 0
                • W
                  whitexp
                  last edited by

                  see

                  aaaa.jpg
                  aaaa.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • jdillardJ
                    jdillard
                    last edited by

                    @grandrivers:

                    " they are all SI formatted now."  i dont know if I understand and am a sure at this point it looks harder for most (isp's) i like to have proof of poor service

                    dhcp leases graph is missing will that be worked on at some point

                    It auto converts to the SI prefixes: http://www.shimadzu.com/an/hplc/support/n9j25k000000y4ah-img/n9j25k000000y8nb.jpg

                    It is just tricky in this case because there are a lot of different use cases sharing the same graph, it'll get there.

                    DHCP leases (DHCP category) shows up for me. I assume you have it enabled?

                    1 Reply Last reply Reply Quote 0
                    • N
                      NOYB
                      last edited by

                      Submitted a few more pull requests last night.

                      1. Auto update.
                        Updates the graph 4 times per selected resolution.
                        Updates the graph on settings change.
                        https://github.com/pfsense/FreeBSD-ports/pull/77

                      2. Collapsible and configurable show/hide settings panel.
                        Same as status system logs filter and manage log panels.
                        Replaced the "Update" button with refresh icon on title bar.
                        I think this would be real nice combined with being able to set a default view.  Open the monitor and have your preferred view without the settings panel consuming a third of the display.  A cleaner look.
                        https://github.com/pfsense/FreeBSD-ports/pull/78

                      3. Use same units in tooltip as graph on quality.
                        Code wise a bit of a hack I think and I'm sure Dillard and/or others can do it much more elegantly.  But it suffices for me for now.  We mere humans just don't relate well to long strings of digits.
                        https://github.com/pfsense/FreeBSD-ports/pull/79

                      See attached image of my current incarnation.

                      MyCurrentIncarnation.jpg
                      MyCurrentIncarnation.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • G
                        grandrivers
                        last edited by

                        you are correct its disabled and wont enable ,my bad ill try to chase that down

                        pfsense plus 25.03 super micro A1SRM-2558F
                        C2558 32gig ECC  60gig SSD

                        1 Reply Last reply Reply Quote 0
                        • jdillardJ
                          jdillard
                          last edited by

                          I'm guessing the labels across the bottom are in the next PR ;)

                          I'll make comments for each of the PRs on github.

                          1 Reply Last reply Reply Quote 0
                          • H
                            heper
                            last edited by

                            @grandrivers:

                            you are correct its disabled and wont enable ,my bad ill try to chase that down

                            i just tried to enable the dhcp graphs on a previously disabled interface. they showed right up.

                            goto https://your_pf_ip/status.php & search for <statsgraph>it should show something like```
                            <statsgraph>yes</statsgraph>

                            1 Reply Last reply Reply Quote 0
                            • G
                              grandrivers
                              last edited by

                              i goto dhcp server tick Enable RRD statistics graphs hit save page reloads with it unticked

                              pfsense plus 25.03 super micro A1SRM-2558F
                              C2558 32gig ECC  60gig SSD

                              1 Reply Last reply Reply Quote 0
                              • H
                                heper
                                last edited by

                                best to start a new thread for that. i've just tried this on 2 systems and enable/disable works as intended.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  NOYB
                                  last edited by

                                  @jdillard:

                                  I'm guessing the labels across the bottom are in the next PR ;)

                                  I'll make comments for each of the PRs on github.

                                  Yup.  Future graph meta data PR.  Maybe tonight.
                                  Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    whitexp
                                    last edited by

                                    @jdillard:

                                    @whitexp:

                                    Interactive Graph
                                    Error: SyntaxError: Unexpected token F

                                    Did you just upgrade? Are you on 64 or 32bit? What graphs do you have selected?

                                    In Chrome right click the screen and click Inspect. Then choose the Network tab and refresh the browser. Click the update button on the WebGUI and then you should see a line item with rrd_fetch_json.php at the bottom of the dev tools window. If you click that then choose the response tab within it you should see what the server responded with. Are there any errors in there?

                                    Crash report begins.  Anonymous machine information:

                                    amd64
                                    10.3-RC1
                                    FreeBSD 10.3-RC1 #446 22a5a00(RELENG_2_3): Thu Mar 10 07:19:29 CST 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

                                    Crash report details:

                                    PHP Errors:
                                    [10-Mar-2016 15:07:02 America/Sao_Paulo] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 125
                                    [10-Mar-2016 15:14:08 America/Sao_Paulo] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 125
                                    [10-Mar-2016 16:45:11 America/Sao_Paulo] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 125

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NOYB
                                      last edited by

                                      You know what would be really slick?  User programed quick link graph buttons.

                                      See attached image.

                                      UserProgramedQuickLinkGraphButtons.jpg
                                      UserProgramedQuickLinkGraphButtons.jpg_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        samoth
                                        last edited by

                                        I'm still not seeing any data in my graphs.  Everything shows at zero.

                                        Is there a setting I'm missing?

                                        Thanks,
                                        Tom

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          biggsy
                                          last edited by

                                          The label on the Y axis should be "time/%", rather than "seconds/%" so that the values are consistent with those in the table - e.g., "4.0 ms" not "4.0 m".  Either that or "ms/%" and no units on the axis.

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            cmb
                                            last edited by

                                            @whitexp:

                                            PHP Errors:
                                            [10-Mar-2016 15:07:02 America/Sao_Paulo] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 125

                                            That means you don't have pecl-rrd, which has been a dependency since this was in place. What do you see for 'pkg info|grep pecl-rrd'? Should look something like:

                                            [2.3-BETA][root@fw1]/root: pkg info|grep pecl-rrd
                                            pecl-rrd-1.1.3_2               PHP bindings to rrd tool system
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.