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.7k 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 might have to redo that for after 2.3 and can include the auto-update and multi-option stuff you worked on at that point.

      There has got to be a better way that reuses more of the code…

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

        @jdillard:

        I might have to redo that for after 2.3 and can include the auto-update and multi-option stuff you worked on at that point.

        There has got to be a better way that reuses more of the code…

        Thanks for the setting expectations update.  I've been and still am using both the auto updating and quick links and love them.

        P.S. With draw from scratch the graph type works now.  So may want to enable bar graph selection.

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

          After the latest monitoring rev I notice that if the graph is refreshed while a tool-tip is displayed that the tool-tip becomes permanent.  Moving the mouse/pointer back over the graph will still bring up a new tool-tip display but the not remove the previous one.

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

            @maverick_slo:

            Hmm this doesn`2t look right.
            I intentionally selected IPsec iface as in last 8 hours there was 0 traffic.
            Green line seems to be left over from quality graph.
            I checked with multiple browsers, same behaviour.

            yes when changing rrd type or interface it, sometimes, it keeps the lines of the previous graph.

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              Hi all!

              Latest package fixed my issue.
              Thanks!

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

                @NOYB:

                @jdillard:

                I might have to redo that for after 2.3 and can include the auto-update and multi-option stuff you worked on at that point.

                There has got to be a better way that reuses more of the code…

                Thanks for the setting expectations update.  I've been and still am using both the auto updating and quick links and love them.

                P.S. With draw from scratch the graph type works now.  So may want to enable bar graph selection.

                No problem. Thanks for all the help! Seriously.

                The code has been a little volatile, but I think it is about to settle down. I see moving a lot of repetitive code to functions (but that shouldn't really effect future additions much) and also adding an update bit to the draw_function that skips over code on an update (just an idea at this point). Just trying to keep the code maintainable so we can keep adding to it without the complexity killing us.

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

                  @heper:

                  yes when changing rrd type or interface it, sometimes, it keeps the lines of the previous graph.

                  This is fixed now: https://forum.pfsense.org/index.php?topic=107790.msg605180#msg605180

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

                    @NOYB:

                    After the latest monitoring rev I notice that if the graph is refreshed while a tool-tip is displayed that the tool-tip becomes permanent.  Moving the mouse/pointer back over the graph will still bring up a new tool-tip display but the not remove the previous one.

                    Just pushed an update that fixes this. thanks for catching/reporting it!

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

                      @virgiliomi:

                      @jdillard:

                      …but try running the following instead of editing:

                      sort -u -o /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini
                      

                      Yeah, there's nothing to sort in an empty file… :)

                      Unless one of those filenames should be something else? :)

                      Edit: Or, unless you were referring to sorting AFTER updating? Couldn't tell...

                      After talking with Garga we aren't quite sure what happened as it seems to have only affected a few people I would make the fix (fill in the file) and upgrade normally after. That problem seems to have hit at a certain snapshot and not come up since, so hopefully whatever caused the issue is behind us.

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

                        I've also seen the call to undefined function fetch_rrd() a few times over the past couple of weeks.
                        In my case it has only happened after a "crash" on second reboot after update.

                        Steps:

                        1. Update (auto reboots and all is fine).
                        2. Console option 6 (shutdown).
                        3. Create VM snapshot.
                        4. Boot pfSense - something goes awry and screen messages scroll for a few seconds like disk clean up from ungraceful shutdown.  System auto reboots fine but then fetch_rrd() call issue occurs.

                        I've never tried to trouble shoot cause.  Just restore previous VM snapshot and re-update.

                        1 Reply Last reply Reply Quote 0
                        • E
                          emko
                          last edited by

                          for the last two builds i cant get the graphs to show

                          where the graph is to show i get a red box with "Error: SyntaxError: Unexpected token F"

                          and in the logs i get

                          Crash report details:

                          PHP Errors:
                          [26-Mar-2016 02:16:58 Etc/GMT-7] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 130

                          1 Reply Last reply Reply Quote 0
                          • E
                            emko
                            last edited by

                            @emko:

                            for the last two builds i cant get the graphs to show

                            where the graph is to show i get a red box with "Error: SyntaxError: Unexpected token F"

                            and in the logs i get

                            Crash report details:

                            PHP Errors:
                            [26-Mar-2016 02:16:58 Etc/GMT-7] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 130

                            I am on

                            2.3-BETA (amd64)
                            built on Sat Mar 26 19:54:12 CDT 2016
                            FreeBSD 10.3-RELEASE

                            still same problem does no one else have this?

                            1 Reply Last reply Reply Quote 0
                            • MikeV7896M
                              MikeV7896
                              last edited by

                              @emko:

                              still same problem does no one else have this?

                              Follow the directions in this post, then I'd reboot to make sure PHP is all clean.  If you're not a console editor type, you can use Diagnostics > Edit File to edit the file in question (it'll likely be blank). Paste in the code from that post, then save the file and reboot.

                              The S in IOT stands for Security

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

                                @emko:

                                @emko:

                                for the last two builds i cant get the graphs to show

                                where the graph is to show i get a red box with "Error: SyntaxError: Unexpected token F"

                                and in the logs i get

                                Crash report details:

                                PHP Errors:
                                [26-Mar-2016 02:16:58 Etc/GMT-7] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 130

                                I am on

                                2.3-BETA (amd64)
                                built on Sat Mar 26 19:54:12 CDT 2016
                                FreeBSD 10.3-RELEASE

                                still same problem does no one else have this?

                                I created a redmine ticket that summarizes the information from this thread:

                                https://redmine.pfsense.org/issues/6041

                                If you have anything to add I would do it there as to keep the information in one place.

                                edit: Garga thinks he already found a fix (talk about fast!): https://github.com/pfsense/pfsense/commit/475f0b6dbd9d93e96e58b4b54870c9aa760e99f7

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

                                  @jdillard:

                                  I created a redmine ticket that summarizes the information from this thread:

                                  https://redmine.pfsense.org/issues/6041

                                  If you have anything to add I would do it there as to keep the information in one place.

                                  edit: Garga thinks he already found a fix (talk about fast!): https://github.com/pfsense/pfsense/commit/475f0b6dbd9d93e96e58b4b54870c9aa760e99f7

                                  If you want to test this now you can do a git sync and then option #16 in console (Restart PHP-FPM). Otherwise you can wait to upgrade to the next snapshot and the install/reboot process will take care of it.

                                  If you are still running up against this issue, your feedback on this fix is greatly appreciated.

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    emko
                                    last edited by

                                    @jdillard:

                                    @emko:

                                    @emko:

                                    for the last two builds i cant get the graphs to show

                                    where the graph is to show i get a red box with "Error: SyntaxError: Unexpected token F"

                                    and in the logs i get

                                    Crash report details:

                                    PHP Errors:
                                    [26-Mar-2016 02:16:58 Etc/GMT-7] PHP Fatal error:  Call to undefined function rrd_fetch() in /usr/local/www/rrd_fetch_json.php on line 130

                                    I am on

                                    2.3-BETA (amd64)
                                    built on Sat Mar 26 19:54:12 CDT 2016
                                    FreeBSD 10.3-RELEASE

                                    still same problem does no one else have this?

                                    I created a redmine ticket that summarizes the information from this thread:

                                    https://redmine.pfsense.org/issues/6041

                                    If you have anything to add I would do it there as to keep the information in one place.

                                    edit: Garga thinks he already found a fix (talk about fast!): https://github.com/pfsense/pfsense/commit/475f0b6dbd9d93e96e58b4b54870c9aa760e99f7

                                    oh nice thanks guys, i was just confused as i seen people talking about the graphs and i couldn't see them :)

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

                                      Are they working for you now?

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

                                        What is required to get the new dark graphs on the 2.3 beta? Mine are still white.

                                        1 Reply Last reply Reply Quote 0
                                        • Raul RamosR
                                          Raul Ramos
                                          last edited by

                                          Apparently goes to 2.3.1. Monitoring took a lot  of time so no time for the graph. I search for the topic where this is discus but don'r find it.

                                          pfSense:
                                          ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
                                          Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
                                          NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

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

                                            @wheemer:

                                            What is required to get the new dark graphs on the 2.3 beta? Mine are still white.

                                            If you are referring to traffic graphs that is 2.3.1. Otherwise you can change the theme in System > General Setup.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.