Intro page/console homepage

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Sun Jun 14, 2020 2:21 am 1.3.0 is the cacti version I have, and 2.0 the intropage plugin.
Please try 2.0.1
https://github.com/xmacan/plugin_intropage/releases
Let me know if it is works
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Hello,
Tried...same thing, plugin tab isnt accessible, unless I delete the intropage folder completly.

2020/06/15 13:09:18 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2020/06/15 13:09:18 - ERROR PHP ERROR: Uncaught Error: Call to undefined function api_plugin_check_dependencies() in /var/www/html/cacti/lib/plugins.php:586 Stack trace: #0 /var/www/html/cacti/plugins.php(623): api_plugin_can_install('Intropage', '') #1 /var/www/html/cacti/plugins.php(633): plugin_required_installed(Array, 'plugin_temp_tab...') #2 /var/www/html/cacti/plugins.php(547): plugin_actions(Array, 'plugin_temp_tab...') #3 /var/www/html/cacti/plugins.php(479): format_plugin_row(Array, true, false, 'plugin_temp_tab...') #4 /var/www/html/cacti/plugins.php(135): update_show_current() #5 {main} thrown in file: /var/www/html/cacti/lib/plugins.php on line: 586
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Mon Jun 15, 2020 5:10 am Hello,
Tried...same thing, plugin tab isnt accessible, unless I delete the intropage folder completly.

2020/06/15 13:09:18 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2020/06/15 13:09:18 - ERROR PHP ERROR: Uncaught Error: Call to undefined function api_plugin_check_dependencies() in /var/www/html/cacti/lib/plugins.php:586 Stack trace: #0 /var/www/html/cacti/plugins.php(623): api_plugin_can_install('Intropage', '') #1 /var/www/html/cacti/plugins.php(633): plugin_required_installed(Array, 'plugin_temp_tab...') #2 /var/www/html/cacti/plugins.php(547): plugin_actions(Array, 'plugin_temp_tab...') #3 /var/www/html/cacti/plugins.php(479): format_plugin_row(Array, true, false, 'plugin_temp_tab...') #4 /var/www/html/cacti/plugins.php(135): update_show_current() #5 {main} thrown in file: /var/www/html/cacti/lib/plugins.php on line: 586
Any other plugin works fine?

You are using develop version. For production is version 1.2.x.

Try report this issue here - https://github.com/Cacti/cacti/issues
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Yes,
All other plugins are working properly.
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Mon Jun 15, 2020 5:50 am Yes,
All other plugins are working properly.
Strange ... few weeks ago I was able to install Intropage 1.8.x/2.0 to Cacti 1.3.0. I have tested it again yet and I got the same error. I need help with someone from Cacti develop team. You have to wait ....Issue is here https://github.com/xmacan/plugin_intropage/issues/105
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Mon Jun 15, 2020 5:10 am Hello,
Tried...same thing, plugin tab isnt accessible, unless I delete the intropage folder completly.

2020/06/15 13:09:18 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2020/06/15 13:09:18 - ERROR PHP ERROR: Uncaught Error: Call to undefined function api_plugin_check_dependencies() in /var/www/html/cacti/lib/plugins.php:586 Stack trace: #0 /var/www/html/cacti/plugins.php(623): api_plugin_can_install('Intropage', '') #1 /var/www/html/cacti/plugins.php(633): plugin_required_installed(Array, 'plugin_temp_tab...') #2 /var/www/html/cacti/plugins.php(547): plugin_actions(Array, 'plugin_temp_tab...') #3 /var/www/html/cacti/plugins.php(479): format_plugin_row(Array, true, false, 'plugin_temp_tab...') #4 /var/www/html/cacti/plugins.php(135): update_show_current() #5 {main} thrown in file: /var/www/html/cacti/lib/plugins.php on line: 586
There was problem in Cacti develop version:
https://github.com/xmacan/plugin_intropage/issues/105

It is fixed now, you can install Intropage.

Intropage has problem with user/permission. It will be fixed in 2.0.2 (maybe today).
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Hello,
That user/permission problem is why I cant add any panel? All all greyout and wait one poller cycle message is displayed.
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Tue Jun 16, 2020 3:39 am Hello,
That user/permission problem is why I cant add any panel? All all greyout and wait one poller cycle message is displayed.
No, there isn't problem with wait one poller cycle. It is normal. After 5 minutes reload page and you can add panels.
Problem is with few panels which are for all users (info, analyse db). There is problem that user without permission can see these panels
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Well, I waited about an hour, and all panels are grayout.
Attachments
Screenshot from 2020-06-16 11-55-28.png
Screenshot from 2020-06-16 11-55-28.png (152.39 KiB) Viewed 7089 times
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Tue Jun 16, 2020 3:56 am Well, I waited about an hour, and all panels are grayout.
and is your poller ok? What says utilities -> system utilities -> technical support, second paragraph is Poller information.

If your poller is working well, problem is with intropage and I will need test it in devel version.
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Poller is working, as graphs are populated.

Interval 300
Type SPINE 1.2.7 Copyright 2004-2019 by The Cacti Group (Different version of Cacti and Spine!)
Items Action[0]: 5,035
Action[1]: 1
Action[2]: 177
Total: 5,213
Concurrent Processes 5
Max Threads 10
PHP Servers 5
Script Timeout 25
Max OID 10
Last Run Statistics Time:26.7958 Method:spine Processes:1 Threads:10 Hosts:226 HostsPerProcess:226 DataSources:5213 RRDsProcessed:0
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Tue Jun 16, 2020 4:24 am Poller is working, as graphs are populated.

Interval 300
Type SPINE 1.2.7 Copyright 2004-2019 by The Cacti Group (Different version of Cacti and Spine!)
Items Action[0]: 5,035
Action[1]: 1
Action[2]: 177
Total: 5,213
Concurrent Processes 5
Max Threads 10
PHP Servers 5
Script Timeout 25
Max OID 10
Last Run Statistics Time:26.7958 Method:spine Processes:1 Threads:10 Hosts:226 HostsPerProcess:226 DataSources:5213 RRDsProcessed:0
Is there any other error about intropage or intropage poller. You could see something similiar:
2020/06/16 11:40:53 - SYSTEM INTROPAGE STATS: Time:0.2 Checks:0
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

macan wrote: Tue Jun 16, 2020 4:51 am
Atreides wrote: Tue Jun 16, 2020 4:24 am Poller is working, as graphs are populated.

Interval 300
Type SPINE 1.2.7 Copyright 2004-2019 by The Cacti Group (Different version of Cacti and Spine!)
Items Action[0]: 5,035
Action[1]: 1
Action[2]: 177
Total: 5,213
Concurrent Processes 5
Max Threads 10
PHP Servers 5
Script Timeout 25
Max OID 10
Last Run Statistics Time:26.7958 Method:spine Processes:1 Threads:10 Hosts:226 HostsPerProcess:226 DataSources:5213 RRDsProcessed:0
Is there any other error about intropage or intropage poller. You could see something similiar:
2020/06/16 11:40:53 - SYSTEM INTROPAGE STATS: Time:0.2 Checks:0
Hmmm, maybe next cacti develop issue. I haven't got time for more testing. Quick (not clean) fix - edit file poller_intropage.php and comment (or remove) lines:
if (function_exists('register_process_start')) {
if (!register_process_start('intropage', 'master', $config['poller_id'], read_config_option('intropage_timeout'))) {
intropage_debug('Another Intropage Process Still Running');
exit(0);
}
}
Let the Cacti grow!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Intro page/console homepage

Post by Atreides »

Well, this fix fixed it :). Now I can add panels. Looks nice, thank you.
User avatar
macan
Cacti Guru User
Posts: 1101
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

Atreides wrote: Wed Jun 17, 2020 1:37 am Well, this fix fixed it :). Now I can add panels. Looks nice, thank you.
I had the same problem. If you want better fix, you have to create mysql database processes. Definition is in cacti.sql. I don't know why wasn't created by installer. Cacti 1.3 is devel, there is a lot of issues now. I recomend use 1.2.x for production
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest