Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Autorefresh settings not applied
-
Autorefresh settings not applied
Posted by gohone on April 29, 2019 at 16:27Hi,
I upgraded pandora fms from 6 to Version 7 (community version) . All is working except the autorefresh feature.
In my user profile I can enable autorefresh for specific pages (tactical view, dashboard…) and It seems to be OK when I apply the change. I have the following message “SUCCESS Request successfully processed”
However when I test the autorefresh, it’s still disabled on the top and if I go back to my user profile page, I notice my settings have not been saved.
Do you have an idea where is the root cause ? (maybe an issue on the database ?)
Thanks in advance for your support.
gohone replied 5 years, 8 months ago 2 Members · 4 Replies -
4 Replies
-
::
Hi,
I upgraded pandora fms from 6 to Version 7 (community version) . All is working except the autorefresh feature.
In my user profile I can enable autorefresh for specific pages (tactical view, dashboard…) and It seems to be OK when I apply the change. I have the following message “SUCCESS Request successfully processed”
However when I test the autorefresh, it’s still disabled on the top and if I go back to my user profile page, I notice my settings have not been saved.
Do you have an idea where is the root cause ? (maybe an issue on the database ?)
Thanks in advance for your support.
Hello gohone,
What Pandora FMS version are you using exactly? We are currently working on v733 MR 26.
Please, try to update to the lastest version, that configuration does not fail in our environment.
In case it continues failing, you can set directly the refresh time with a database query:
– update tusuario set time_autorefresh = [5, 10, 15, 30, 60, 120, 300, 900, 1800 or 3600] where id_user = [username]
Regards.
-
::
Hi,
I just updated to Pandora FMS v7.0NG.734 – Build 191231 but the issue is remaining.
I also executed the MR sql command until 27 (1.sql to 27.sql).As you mentioned, I tried directly with an sql query on the database server:
update tusuario set time_autorefresh=’120′ where id_user=’viewer1′;
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Â Changed: 1 Â Warnings: 0
–> This setting is correctly changed when I go back to my user settings webpage.update tusuario set autorefresh_white_list=’Dashboard’ where id_user=viewer1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Â Changed: 1 Â Warnings: 0
–> No change on the webpage. I still have “none” in the whitelist.For the moment my workaround is to use an autorefresh plugin with my web browser but if you have an idea I take it.
Thanks for your support.
-
::
Hi,
I just updated to Pandora FMS v7.0NG.734 – Build 191231 but the issue is remaining.
I also executed the MR sql command until 27 (1.sql to 27.sql).As you mentioned, I tried directly with an sql query on the database server:
update tusuario set time_autorefresh=’120′ where id_user=’viewer1′;
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Â Changed: 1 Â Warnings: 0
–> This setting is correctly changed when I go back to my user settings webpage.update tusuario set autorefresh_white_list=’Dashboard’ where id_user=viewer1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Â Changed: 1 Â Warnings: 0
–> No change on the webpage. I still have “none” in the whitelist.For the moment my workaround is to use an autorefresh plugin with my web browser but if you have an idea I take it.
Thanks for your support.
Hello gohone,
I don’t know why you get that error in the user view, it is strange and I was not able to replicate it.
I give you the query needed to set Dashboards in the autorefresh white list:
update tusuario set autorefresh_white_list = ‘[“enterprise/dashboard/main_dashboard”]’ where id_user like ‘[id user]’
This is autorefresh_while_list value with all pages with autorefresh, in case you need to add more pages via query:
["enterprise/dashboard/main_dashboard","operation/agentes/estado_agente","operation/agentes/alerts_status", "enterprise/godmode/reporting/cluster_view","operation/events/events","operation/reporting/graph_viewer", "operation/agentes/group_view","operation/agentes/status_monitor","operation/agentes/pandora_networkmap", "enterprise/operation/services/services","operation/snmpconsole/snmp_view","operation/agentes/tactical", "operation/visual_console/render_view"]
Regards
-