Intropage, moving panels not saving

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Intropage, moving panels not saving

Post by avantat »

Hi there,

it's most likely I'm doing something wrong here, but I can't figure out how to save panels after moving them. Let's say I move a panel to the right, I go back into Intropage, and the panel is back where it was before.
Cacti Version: 1.2.26
Poller Type: cmd.php
Running on:
Linux cacti 5.15.0-94-generic #104-Ubuntu SMP Tue

IntroPage version is: 4.0.3

Thanks!
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intropage, moving panels not saving

Post by macan »

Please try actual code from develop branch
https://github.com/Cacti/plugin_intropage

It will be version 4.0.4 soon
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Intropage, moving panels not saving

Post by avantat »

Thanks, the version I have is from Github. I see the issue seems to be addressed for 4. 0.4, I can wait until it's out.
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intropage, moving panels not saving

Post by macan »

actual version from github develop branch is stable. You can use it now. You don't need wait for official release. I would like to release it soon but I'm busy now.

https://github.com/Cacti/plugin_intropage -> button "<> Code"
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Intropage, moving panels not saving

Post by avantat »

Thanks, pulled from development. It seems though it's still not saving the panels after moving them.
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intropage, moving panels not saving

Post by macan »

It depends on management -> configuration -> settings -> Intropage tab -> "Important things will be at the top". Try disable this
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Intropage, moving panels not saving

Post by avantat »

Quick update, tried this, still won't stick. Just an FYI.
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intropage, moving panels not saving

Post by macan »

Default is used, because user settings for this doesn't exists.
You have to set it in action menu - Sort by (severity or User preference)
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Intropage, moving panels not saving

Post by avantat »

Thanks, tried that. Some panels are sticking to the new location, others revert back (eg: Poller statistics)
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intropage, moving panels not saving

Post by macan »

show result of SQL queries:
select panel_id,user_id,last_update, priority from plugin_intropage_panel_data order by user_id,priority;
and
select * from settings_user where name like '%intro%';
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Intropage, moving panels not saving

Post by avantat »

Sorry for the much delayed reply. Here is the mysql output:

MariaDB [cacti]> select panel_id,user_id,last_update, priority from plugin_intropage_panel_data order by user_id,priority;
+-------------------------------+---------+---------------------+----------+
| panel_id | user_id | last_update | priority |
+-------------------------------+---------+---------------------+----------+
| info | 0 | 2024-08-11 17:05:07 | 5 |
| info | 0 | 2023-03-16 21:50:44 | 5 |
| analyse_db | 0 | 2024-08-10 17:36:50 | 7 |
| analyse_db | 0 | 2024-08-10 17:36:50 | 7 |
| ntp_dns | 0 | 2024-08-11 17:05:07 | 30 |
| ntp_dns | 0 | 2023-03-16 21:50:44 | 30 |
| analyse_ds_stat | 0 | 2024-08-11 17:05:07 | 44 |
| analyse_ds_stat | 0 | 2023-03-16 21:50:44 | 44 |
| boost | 0 | 2023-03-16 21:50:44 | 47 |
| boost | 0 | 2024-08-11 17:05:07 | 47 |
| analyse_log | 0 | 2023-03-16 21:50:44 | 50 |
| analyse_log | 0 | 2024-08-11 17:05:07 | 50 |
| analyse_login | 0 | 2024-08-11 17:05:07 | 51 |
| analyse_login | 0 | 2023-03-16 21:50:44 | 51 |
| cpuload | 0 | 2023-03-16 21:50:44 | 59 |
| cpuload | 0 | 2024-08-11 17:05:07 | 59 |
| poller_stat | 0 | 2024-08-11 17:05:07 | 73 |
| poller_stat | 0 | 2023-03-16 21:50:44 | 73 |
| poller_info | 0 | 2024-08-11 17:05:07 | 74 |
| poller_info | 0 | 2023-03-16 21:50:44 | 74 |
| poller_output_items | 0 | 2024-08-11 17:05:07 | 83 |
| poller_output_items | 0 | 2023-03-16 21:50:44 | 83 |
| admin_alert | 0 | 2023-03-16 21:50:44 | 99 |
| admin_alert | 0 | 2024-08-11 17:05:07 | 99 |
| graph_thold | 1 | 2023-03-16 21:50:44 | 18 |
| graph_host | 1 | 2023-03-16 21:50:44 | 19 |
| analyse_tree_host_graph | 1 | 2023-03-16 21:50:44 | 33 |
| analyse_tree_host_graph | 1 | 2024-08-11 17:05:07 | 33 |
| top5_ping | 1 | 2023-03-16 21:50:44 | 60 |
| top5_ping | 1 | 2024-08-11 17:05:07 | 60 |
| top5_availability | 1 | 2023-03-16 21:50:44 | 61 |
| top5_polltime | 1 | 2024-08-11 17:05:07 | 62 |
| top5_polltime | 1 | 2023-03-16 21:50:44 | 62 |
| top5_pollratio | 1 | 2024-08-11 17:05:07 | 63 |
| top5_pollratio | 1 | 2023-03-16 21:50:44 | 63 |
| busiest_interface_utilization | 1 | 2024-08-11 17:00:08 | 68 |
| busiest_traffic | 1 | 2023-03-16 21:50:44 | 69 |
| busiest_load | 1 | 2024-08-11 17:05:07 | 69 |
| busiest_traffic | 1 | 2024-08-11 17:05:07 | 69 |
| busiest_interface_error | 1 | 2024-08-11 17:05:07 | 69 |
| busiest_uptime | 1 | 2024-08-11 17:05:07 | 69 |
| busiest_load | 1 | 2023-03-16 21:50:44 | 69 |
| busiest_hdd | 1 | 2024-08-11 17:00:08 | 69 |
| busiest_uptime | 1 | 2023-03-16 21:50:44 | 69 |
| busiest_cpu | 1 | 2024-08-11 17:00:08 | 69 |
| busiest_interface_error | 1 | 2023-03-16 21:50:44 | 69 |
| thold_event | 1 | 2024-08-11 17:00:08 | 77 |
| graph_data_source | 1 | 2023-03-16 21:50:44 | 78 |
| extrem | 1 | 2024-08-11 17:00:08 | 87 |
| graph_data_source | 1 | 2024-08-11 17:05:07 | 87 |
| graph_thold | 1 | 2024-08-11 17:05:07 | 88 |
| alert_host | 1 | 2024-08-11 17:00:08 | 89 |
| top5_availability | 1 | 2024-08-11 17:05:07 | 89 |
| graph_host_template | 1 | 2024-08-11 16:35:07 | 90 |
| graph_host | 1 | 2024-08-11 17:05:07 | 90 |
+-------------------------------+---------+---------------------+----------+
55 rows in set (0.000 sec)


MariaDB [cacti]> select * from settings_user where name like '%intro%';
+---------+---------------------------+-------+
| user_id | name | value |
+---------+---------------------------+-------+
| 1 | intropage_number_of_lines | 5 |
+---------+---------------------------+-------+
1 row in set (0.001 sec)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests