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

    Pretty fooking pissed to be honest…..! Dashboard widgets STILL not working!

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    27 Posts 4 Posters 6.9k 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.
    • S
      Supermule Banned
      last edited by

      Thanks Stephen! What does it do??

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        I want graphs open for WAN and WAN2 on my dashboard when I open the page. If you look at the traffic graph widget line you can configure which ones are open by setting show or hide.

        Backup the config.xml file. Edit the widget line. Restore the file.
        ??, Profit!  ;D

        I guess you could also configure what order the graphs are in and where the widgets are on the dashboard but I've never tried that.

        Steve

        Edit: Actually I think you can edit the config.xml file on the machine and then force it to reload the config by making some change somewhere else. Never tried that either though.  ;)

        Edit2: Yes you can edit the file directly, no you can't change the order of the traffic graphs.

        1 Reply Last reply Reply Quote 0
        • S
          Supermule Banned
          last edited by

          :D Thanks!

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            My widget sectiuon looks like this.

            Only LAN and WAN are open. Rest is closed and stays closed no matter what…

            <widgets><sequence>system_information-container:col1:show,gateways-container:col1:show,interfaces-container:col1:show,captive_portal_status-container:col1:close,carp_status-container:col1:close,cpu_graphs-container:col1:close,gmirror_status-container:col1:close,installed_packages-container:col1:show,interface_statistics-container:col1:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,picture-container:col2:close,rss-container:col2:close,services_status-container:col2:show,snort_alerts-container:col2:show,traffic_graphs-container:col2:show,openvpn-container:col2:none,wake_on_lan-container:col2:none</sequence>
            <traffic_graphs-config>WAN_graph-config:show,LAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets>

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              And you have more interfaces than just WAN and LAN?
              My own config file, at least the traffic graph section, has not altered for a long time. I would guess that the config file has not been updated since the widget became broken (2.0.2?).
              Try adding the appropriate info to the traffic graphs section. You can always restore from a backup if it goes badly.  ;)

              Steve

              1 Reply Last reply Reply Quote 0
              • S
                Supermule Banned
                last edited by

                I know, but all the VLANS doesnt stay open if I try to save settings…..!

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, well I don't know then.  :-
                  What does your traffic graphs config section look like now? Did you force a config reload by hitting save on some random page (I used DHCP Server)?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • S
                    Supermule Banned
                    last edited by

                    What do you mean??

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      After you've edited the config.xml file you must get pfSense to reload it for any changes to take effect. I did that by going to the first dhcp server settings page and, without making any changes, hitting save.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • S
                        Supermule Banned
                        last edited by

                        :D Thats crazy….So to get it to save settings in the dashboard you have to go to something that is no where near related to the dashboard to save settings :D

                        It really gets faith into the security aspect....NOT! If the code for the dashboard doesnt even work ,what else is wrong?

                        :D

                        Maybe the devs should try to get what we have allready working instead of introducing new stuff all the time???

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yes it's a nasty work around but it's not a security issue.
                          Just to get this into perspective the problem we are dealing with here is that the code to customise the dashboard layout is broken. The only reason I suggested using a different 'save' button is that's the easiest way to reload the config file. You could also issue an rc.reload_all from the CLI but that's just more involved.

                          Anyway, did it work?  :)

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • S
                            Supermule Banned
                            last edited by

                            I need to see how I get them to stay open in the config file first. I have some other Pfsenses running that I can compare with.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Supermule Banned
                              last edited by

                              It didnt work….as soon as I hit save somewhere else, it returns to WAN/LAN and no more.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Supermule Banned
                                last edited by

                                Even if I save it en edit file and go save the config in any page, it reverts to WAN/LAN show and nothing else despite manual edit.

                                The edit is gone!!!!!!!!!

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Hmm, interesting. I can't see how it is different to importing an older config file but maybe I'm missing something.  :-\ Certainly the section I gave above works fine.
                                  What interfaces do you have? I can only suggest that perhaps you have the syntax wrong for VLAN interfaces. I don't have any so I can't help you there.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Supermule Banned
                                    last edited by

                                    This is the working one…

                                    <widgets><sequence>system_information-container:col1:show,gateways-container:col1:show,pfBlocker-container:col1:show,interfaces-container:col1:show,log-container:col1:close,captive_portal_status-container:col1:close,carp_status-container:col1:close,cpu_graphs-container:col1:close,gmirror_status-container:col1:close,installed_packages-container:col1:show,interface_statistics-container:col1:close,ipsec-container:col2:close,load_balancer_status-container:col2:close,picture-container:col2:close,rss-container:col2:close,services_status-container:col2:show,openvpn-container:col2:none,wake_on_lan-container:col2:none,snort_alerts-container:col2:show,traffic_graphs-container:col2:show</sequence>
                                    <traffic_graphs-config>WAN_graph-config:show,LAN_graph-config:show,DMZ_graph-config:show,MAIL_graph-config:show,WEB_graph-config:show,FORUM_graph-config:show,refreshInterval=1</traffic_graphs-config>
                                    <filterlogentries>20</filterlogentries></widgets>

                                    This is the one screwing me!

                                    <widgets><sequence>system_information-container:col1:show,gateways-container:col1:show,interfaces-container:col1:show,captive_portal_status-container:col1:close,carp_status-container:col1:close,cpu_graphs-container:col1:close,gmirror_status-container:col1:close,installed_packages-container:col1:show,interface_statistics-container:col1:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,picture-container:col2:close,rss-container:col2:close,services_status-container:col2:show,snort_alerts-container:col2:show,traffic_graphs-container:col2:show,openvpn-container:col2:none,wake_on_lan-container:col2:none</sequence>
                                    <traffic_graphs-config>WAN_graph-config:show,LAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets>

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