Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 3:09 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 01, 2019 3:43 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 138
Location: Czech
Version 1.8.1 released
- Better and faster panels
- Better auto/manual reload
- Copy text from panels
- add few new test (empty poller_output, incorect spine version, ...)
- better themes support
- a lot of bugs fixed

_________________
Author of:
Intropage/Dashboard plugin
TopX plugin
ESXi template
Ping History (PiHi) plugin
FreeBSD template
Multicore CPU average graph
HP MSM wifi controller 7xx


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 1:28 pm 
Offline

Joined: Sun Sep 17, 2017 6:35 pm
Posts: 9
Running intropage 1.1.8 on Cacti 1.1.38 (Dark Theme) on Debian Stretch with php7.3 and 2839 data sources.

My Poller Stats, CPU Utilization, Trends, Hosts, Thresholds, Data Source and Device Templates panels do not populate, their boxes remain empty, no pie charts, no text, the other standard panels look good as well as any graphs I add.

My apache2 error log say repeatedly:

PHP Notice: Undefined variable: log_Size_text in /usr/share/cacti/site/plugins/intropage/include/data.php on line 102

Any additional info needed will be provided.

Thanks,


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 1:32 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
lowercase the S to fix that. I would say update to the latest intropage on develop but that now requires Cacti 1.2 or above.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 2:18 pm 
Offline

Joined: Sun Sep 17, 2017 6:35 pm
Posts: 9
Correction, I listed my intropage version as 1.1.8, that is not correct. I am running intropage 1.8.1.

Changing "log_Size_text" to "log_size_text" on line 102 in data.php fixed the error. Thanks!

My panels listed above remain empty, am I missing a package maybe?

Thanks for your support!


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 2:33 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 138
Location: Czech
chipmonk wrote:
Correction, I listed my intropage version as 1.1.8, that is not correct. I am running intropage 1.8.1.

Changing "log_Size_text" to "log_size_text" on line 102 in data.php fixed the error. Thanks!

My panels listed above remain empty, am I missing a package maybe?

Thanks for your support!


Please have a look to
https://github.com/xmacan/plugin_intropage/issues/45

Maybe you have the same problem - incorrect version of chart.js

_________________
Author of:
Intropage/Dashboard plugin
TopX plugin
ESXi template
Ping History (PiHi) plugin
FreeBSD template
Multicore CPU average graph
HP MSM wifi controller 7xx


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 2:49 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
The latest development sources work fine but you need to be on 1.2 to use them. The master branch won't cut it if I remember rightly.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 3:12 pm 
Offline

Joined: Sun Sep 17, 2017 6:35 pm
Posts: 9
The new Chart.js did the trick! Fantastic! Thanks!


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Mar 22, 2019 3:33 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 138
Location: Czech
chipmonk wrote:
The new Chart.js did the trick! Fantastic! Thanks!


great. Please try to use github issue for new report bug report, questions, ...

https://github.com/xmacan/plugin_intropage/issues/

_________________
Author of:
Intropage/Dashboard plugin
TopX plugin
ESXi template
Ping History (PiHi) plugin
FreeBSD template
Multicore CPU average graph
HP MSM wifi controller 7xx


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Apr 03, 2019 3:37 pm 
Offline

Joined: Wed Apr 03, 2019 3:15 pm
Posts: 2
Hi all.

I have a new Cacti install (Cacti Version: 0.8.8h, Plugin Architecture Version: 3.1) on Centos 7.4

I also have installed the php Weathermap plugin and it is working great.

I am trying to install the intropage plugin.

1) I have downloaded the tar.gz file
2) I have unzipped the contents of that file into the plugins directory. It creates a directory called plugin_intropage-1.8.0
3) I have changed the ownership of the directory and all files and subdirectories to cacti.apache (just like the weathermap plugin).
4) Permissions are set the same as weathermap

Up until this point, I can still see the weathermap plugin in the cacti Plugin Manager page. However, I can't see the intropage plugin.

5) I rename the directory to intropage

At this point, it causes the contents of the entire Plugin Management page to disappear.

Could this plugin be incompatible with PIA 3.1?


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Apr 04, 2019 1:24 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 138
Location: Czech
fcrooks wrote:
Hi all.

I have a new Cacti install (Cacti Version: 0.8.8h, Plugin Architecture Version: 3.1) on Centos 7.4

I also have installed the php Weathermap plugin and it is working great.

I am trying to install the intropage plugin.

1) I have downloaded the tar.gz file
2) I have unzipped the contents of that file into the plugins directory. It creates a directory called plugin_intropage-1.8.0
3) I have changed the ownership of the directory and all files and subdirectories to cacti.apache (just like the weathermap plugin).
4) Permissions are set the same as weathermap

Up until this point, I can still see the weathermap plugin in the cacti Plugin Manager page. However, I can't see the intropage plugin.

5) I rename the directory to intropage

At this point, it causes the contents of the entire Plugin Management page to disappear.

Could this plugin be incompatible with PIA 3.1?


You are using very old Cacti version! Actual is 1.2.x. On the first page is this forum is old version for 0.8x (Version <= 0.85 works fine in Cacti 0.8.x, 0.91+ is for cacti >= 1.0X!).

_________________
Author of:
Intropage/Dashboard plugin
TopX plugin
ESXi template
Ping History (PiHi) plugin
FreeBSD template
Multicore CPU average graph
HP MSM wifi controller 7xx


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Apr 04, 2019 7:57 am 
Offline

Joined: Wed Apr 03, 2019 3:15 pm
Posts: 2
Thanks much for the quick reply back on this.

Yes, I know it is an old version. However, I am tied to it because I rely heavily on the php Weathermap plugin which has not and will not (as I understand it) be ported to Cacti 1.x

Therefore, my need to stay with plugins for that older version of Cacti.

Nevertheless, I will go back and find the earlier version you referenced and see if I can get that to work.

The Very Best Regards
fcrooks


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Apr 04, 2019 9:23 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
To be clear, weathermaps runs under 1.x, the issue is that the interface for editing, etc, wasn't completed. There will be some work done to separate the parts out.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri May 10, 2019 9:03 am 
Offline

Joined: Fri May 10, 2019 8:48 am
Posts: 5
Hi all.

I have a new Cacti install (Cacti Version: 1.2.3) on Debian 9.x and database is oracle mysql 8.0.16.

I also have installed the Monitor and Thold plugins and it is working great.

I am trying to install the intropage plugin.

I copied the zip file from https://github.com/xmacan/plugin_intropage to plugins directory, set permissions for apache user www-data.

When I install the plugin I see the following errors in Cacti interface logs TAB:

2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[22]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'poller_bottom', 'intropage_poller_' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[17]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'graph_buttons_thumbnails', 'introp' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[16]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'graph_buttons', 'intropage_graph_b' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[14]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'user_group_admin_setup_sql_save', ' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[13]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'user_admin_setup_sql_save', 'intro' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[11]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'console_after', 'intropage_console' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[9]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'top_graph_header_tabs', 'intropage' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[8]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'top_header_tabs', 'intropage_show_' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[6]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'login_options_navigate', 'intropag' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[5]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'config_settings', 'intropage_confi' at line 1
2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[4]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'config_form', 'intropage_config_fo' at line 1

I also enabled mysql general_log but still I can't see those queries with error. How can I see the entire query ? I can solve the problem and run query manually at least.

Thanks everyone for help !


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Sun May 12, 2019 1:25 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 138
Location: Czech
jon22 wrote:
Hi all.

I have a new Cacti install (Cacti Version: 1.2.3) on Debian 9.x and database is oracle mysql 8.0.16.

I also have installed the Monitor and Thold plugins and it is working great.

I am trying to install the intropage plugin.

I copied the zip file from https://github.com/xmacan/plugin_intropage to plugins directory, set permissions for apache user www-data.

When I install the plugin I see the following errors in Cacti interface logs TAB:

2019/05/10 16:04:17 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[626]:plugin_intropage_install(), /plugins/intropage/setup.php[22]:api_plugin_register_hook(), /lib/plugins.php[736]:db_execute_prepared())
2019/05/10 16:04:17 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function, file, status) VALUES ('intropage', 'poller_bottom', 'intropage_poller_' at line 1

I also enabled mysql general_log but still I can't see those queries with error. How can I see the entire query ? I can solve the problem and run query manually at least.

Thanks everyone for help !


Hi,
I have tested it just now on FreeBSD, Cacti 1.2.3 and MariaDB 10.2 and everything is ok without any error. If you tried master branch, please try develop version. In develop is a lot of changes, few are connected with installation process.
If problem will persist, please send me full SQL queries.

_________________
Author of:
Intropage/Dashboard plugin
TopX plugin
ESXi template
Ping History (PiHi) plugin
FreeBSD template
Multicore CPU average graph
HP MSM wifi controller 7xx


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Mon May 13, 2019 5:01 am 
Offline

Joined: Fri May 10, 2019 8:48 am
Posts: 5
Hi Macan,
I attached the general_log of mysql which I enabled before installing intropage plugin.
I user dev version of plugin as recommended but I had the same errors.
I attched the mysql general_log and printscreen with errors.
I could not find the errors in general_log which is strange.
Thank you for your support.


Attachments:
cacti-logs.PNG
cacti-logs.PNG [ 143.45 KiB | Viewed 188 times ]
general_log.txt [82.98 KiB]
Downloaded 8 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group