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

    Dashboard Widgets

    pfSense Packages
    11
    24
    9.7k
    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
      ben.suffolk
      last edited by

      @hoba:

      Must be some kind of updateglitch. It works just fine here on my OSX with FF 2.0.0.3.

      Thats the same version I am running. I removed the package and reinstalled it. Now it looks a little different. The footer is centered as it should be, and the System information box has a header with a - and x box, and I can move it around now and save its new position. I could not do that before,so things are looking up.  :)

      I can add the interfaces box as well, but not the logs or traffic graphs, neither of those do anything when I click on them in the add menu.

      Regards

      Ben

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

        @ben.suffolk:

        I can add the interfaces box as well, but not the logs or traffic graphs, neither of those do anything when I click on them in the add menu.

        I have the same problems here too….

        1 Reply Last reply Reply Quote 0
        • jahonixJ
          jahonix
          last edited by

          Well, when I try to save changes I get on an otherwise blank screen:

          XML error: USE_RRD_GATEWAY at line 53 cannot occur more than once
          

          Actually, I don't have this field defined any more since it doesn't work at all on my machines…

          Chris

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

            @jahonix:

            Well, when I try to save changes I get on an otherwise blank screen:

            XML error: USE_RRD_GATEWAY at line 53 cannot occur more than once
            

            Actually, I don't have this field defined any more since it doesn't work at all on my machines…

            Chris

            The field is still defined.  Remove it then remove /tmp/config.cache.

            1 Reply Last reply Reply Quote 0
            • jahonixJ
              jahonix
              last edited by

              @sullrich:

              The field is still defined.  Remove it then remove /tmp/config.cache.

              I deleted the line in config.xml and restored the configuration. I never got anything else but a blank graph and decided I just don't care anymore.
              http://forum.pfsense.org/index.php/topic,3470.msg26751.html#msg26751
              This is on both my machines with a full install and the same provider.

              Which XML file is the message refering to? I could dig in there…

              1 Reply Last reply Reply Quote 0
              • jahonixJ
                jahonix
                last edited by

                @sdale:

                http://www.pfsense.org/~sdale/creating%20widgets.pdf to view the pdf for creating widgets.

                Are you sure about the widget's path you specify in the .PDF?
                I saw mine at: /usr/local/**www/**widgets/…

                1 Reply Last reply Reply Quote 0
                • Y
                  yoda715
                  last edited by

                  @jahonix:

                  @sdale:

                  http://www.pfsense.org/~sdale/creating%20widgets.pdf to view the pdf for creating widgets.

                  Are you sure about the widget's path you specify in the .PDF?
                  I saw mine at: /usr/local/**www/**widgets/…

                  Oops. Corrected now. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • O
                    omegadraconis
                    last edited by

                    So after a few hours of running the package I check the first page and found the below image. I'm using snapshot 1.2-BETA-1-TESTING-05-27-2007. Nothing in the system log or package log. Shows the same way in ie and in firefox. A reboot did not clear it up.

                    I also can't remove that package and re-installing didn't work. Just hangs and gives me:
                    "Removing package…
                    Loading package configuration dashboard.xml...
                    Loading package instructions..."

                    widget.jpg
                    widget.jpg_thumb

                    1 Reply Last reply Reply Quote 0
                    • Y
                      yoda715
                      last edited by

                      Try using the nervecenter theme.

                      1 Reply Last reply Reply Quote 0
                      • O
                        omegadraconis
                        last edited by

                        @sdale:

                        Try using the nervecenter theme.

                        Did that didn't change anything. I did get it to work again after trying a few things. I did a backup and restore of my config file, then I reinstalled all packages, it still wasn't working but, then I was able to delete dashboard and re-install it. It may have been a problem with my other packages, a few seemed to be messed up.

                        1 Reply Last reply Reply Quote 0
                        • B
                          ben.suffolk
                          last edited by

                          @omegadraconis:

                          So after a few hours of running the package I check the first page and found the below image. I'm using snapshot 1.2-BETA-1-TESTING-05-27-2007. Nothing in the system log or package log. Shows the same way in ie and in firefox. A reboot did not clear it up.

                          I also can't remove that package and re-installing didn't work. Just hangs and gives me:
                          "Removing package…
                          Loading package configuration dashboard.xml...
                          Loading package instructions..."

                          I had this when I upgraded to the latest snapshot, well actually I had the default home page, and the package installed, so I tried to delete the package so that I could reinstall it, but got the same as you.

                          What I did was download the XML config, remove the package entry from it, upload it again. Then I could reinstall the package again. When I reinstalled it still did not change the home page from the default, but I delete it (which worked fine this time) then installed it again, and its all back (but still can't get logs or graphs to work).

                          Ben

                          1 Reply Last reply Reply Quote 0
                          • L
                            luma
                            last edited by

                            Hi,

                            pFSense rocks :)

                            Is there a way to install this package on embedded snapshot?

                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yoda715
                              last edited by

                              In the upcoming 1.3 Release all versions, including embedded, will have the dashboard installed by default. Once 1.2 is out the door the beta for 1.3 will follow shortly after that.

                              1 Reply Last reply Reply Quote 0
                              • L
                                luma
                                last edited by

                                Excellent news!

                                Thanks

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

                                  I am trying to make a carp status widget starting with the code from the interfaces widget and the carp status page and using the pdf as a guide.

                                  I made something that I think might work and tried to get it to show on the dashboard. It is in the menu for adding but nothing happens it just stays the same.

                                  So I guessed my code had bugs (normally does) so I tried a hello world widget

                                  
                                  | Hello world |
                                  | Hello world |
                                  
                                  

                                  same problem so I copied the Interfaces widget renaming it interfaces2 and this also wont show on the page.
                                  the firefox error console says

                                  Error: element has no properties
                                  Source File: https://pfwall.example.com/javascript/scriptaculous/effects.js
                                  Line: 561

                                  Do I need to do something extra to make the widget show some config etc???

                                  Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yoda715
                                    last edited by

                                    @morbus:

                                    Do I need to do something extra to make the widget show some config etc???

                                    Yes. Here is the code that makes the traffic graphs widget configurable:

                                    Refresh Interval:
                                    <select name="refreshInterval" class="formfld" id="refreshInterval" onchange="updateGraphDisplays();"><option value="1" <?php="" if="" ($refreshinterval="=" "1")="" echo="" "selected";?="">>1</option> <option value="2" <?php="" if="" ($refreshinterval="=" "2")="" echo="" "selected";?="">>2</option> <option value="3" <?php="" if="" ($refreshinterval="=" "3")="" echo="" "selected";?="">>3</option> <option value="4" <?php="" if="" ($refreshinterval="=" "4")="" echo="" "selected";?="">>4</option> <option value="5" <?php="" if="" ($refreshinterval="=" "5")="" echo="" "selected";?="">>5</option></select>   Seconds
                                          Note: changing this settings can affect CPU Performance on the pfSense Box

                                    You have to have thein there with the -setting postfix. You also have to make sure the hidden shown below:

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

                                      Sorry I may not have been clear in the last post. This widget doesn't need any config it just displays the carp status.
                                      Actually yesterday I reinstalled the Dashboard package and the widget started displaying and working guess someone had made some changes.

                                      I posted it here http://forum.pfsense.org/index.php/topic,5407.0.html and sullrich has committed it ;D

                                      Does the widget need config data even if it has no config options??

                                      Thanks for the help

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        yoda715
                                        last edited by

                                        @morbus:

                                        Does the widget need config data even if it has no config options??

                                        Nope. Only if you have information you want to save and use for later.

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