Intro page/console homepage

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
BigAl101
Posts: 9
Joined: Fri Jun 23, 2017 4:00 am

Re: Intro page/console homepage

Post by BigAl101 »

Slightly off topic so apologies for that, I've made a few tweaks to the latest version for my own use, I was getting errors from intropage in the logfile when I had devices with duplicate description and I also wanted to add an additional item which was devices with the same hostname/IP address as i'm using this to monitor 2500+ routers which are currently being replaced.

As per the pics below I've changed the "Devices with duplicate description" query so instead of just showing the number of duplicate descriptions (i.e 1 was displayed if 2 devices had the same description) it now show's the number of records which are duplicated and has the view/hide details option to expand and view the devices which have duplicate description, this query also no longer returns errors now in the log file.

I've then also created the query todo the same for hostname or in my case IP.

I've adding settings for the duplicate IP field in the settings aswell so it can be enabled/disabled just like any other option on intropage.

Happy to send the files over if you want to have a look / incorporate into upcoming version.
intro1.jpg
intro1.jpg (13.94 KiB) Viewed 3308 times
intro2.jpg
intro2.jpg (22.4 KiB) Viewed 3308 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 »

BigAl101 wrote:Slightly off topic so apologies for that, I've made a few tweaks to the latest version for my own use, I was getting errors from intropage in the logfile when I had devices with duplicate description and I also wanted to add an additional item which was devices with the same hostname/IP address as i'm using this to monitor 2500+ routers which are currently being replaced.

As per the pics below I've changed the "Devices with duplicate description" query so instead of just showing the number of duplicate descriptions (i.e 1 was displayed if 2 devices had the same description) it now show's the number of records which are duplicated and has the view/hide details option to expand and view the devices which have duplicate description, this query also no longer returns errors now in the log file.

I've then also created the query todo the same for hostname or in my case IP.

I've adding settings for the duplicate IP field in the settings aswell so it can be enabled/disabled just like any other option on intropage.

Happy to send the files over if you want to have a look / incorporate into upcoming version.
intro1.jpg
intro2.jpg

Great! I will add to the new version. Please send it to me via email (pm@kostax.cz) or upload here. Thank you
Let the Cacti grow!
BigAl101
Posts: 9
Joined: Fri Jun 23, 2017 4:00 am

Re: Intro page/console homepage

Post by BigAl101 »

Hi macan

I've attached my modified files below.
Attachments
intropage_mod.zip
(7.22 KiB) Downloaded 153 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 »

Comming soon (maybe this week). Is there someone bold for testing? :-)
Attachments
New version
New version
dashboard1.png (203.41 KiB) Viewed 3134 times
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 »

Intropage/Dashboard 1.0 released!

Completely new design and functions:
- automatic refresh page
- CPU monitoring (linux/unix)
- trends
- poller stats and info
- mysql db connection check
- checks for IP and description duplicity (thank you BigAl101)
- new graphs (chart.js)
...
Let the Cacti grow!
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Intro page/console homepage

Post by phalek »

Here's a version where you can move the portlets around ( Still need to store the position in a cookie ...)
Attachments
intropage_101.tgz
(29.33 KiB) Downloaded 211 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
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 »

phalek wrote:Here's a version where you can move the portlets around ( Still need to store the position in a cookie ...)
Thank you. I plan to add this to the next version.
Your code breaks display!
Attachments
portlets_small.png
portlets_small.png (86.99 KiB) Viewed 3119 times
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 »

BigAl101 wrote: As per the pics below I've changed the "Devices with duplicate description" query so instead of just showing the number of duplicate descriptions (i.e 1 was displayed if 2 devices had the same description) it now show's the number of records which are duplicated and has the view/hide details option to expand and view the devices which have duplicate description, this query also no longer returns errors now in the log file.

I've then also created the query todo the same for hostname or in my case IP.
I added both to version 1.0. But I had to make change in hostname/IP. It checks snmp_port too because I have a lot of snmp devices behind public IP and portforwarded udp ports to devices.

Thank you for your help!
Let the Cacti grow!
VooDDi
Posts: 1
Joined: Thu Oct 05, 2017 11:56 pm

Re: Intro page/console homepage

Post by VooDDi »

Hello. where can I download 0.85 version for cacti 0.8.8?
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 »

VooDDi wrote:Hello. where can I download 0.85 version for cacti 0.8.8?
Hello,
I added version 0.85 to the first page
Let the Cacti grow!
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: Intro page/console homepage

Post by Pucho »

Hi macan,

Would this be available on github to report issues and/or contribute code?

I've been reporting bugs on https://github.com/earendilfr/plugin_intropage for the version that Earendilfr has re-written and I've noticed this new release isn't there.

BTW, I attached an screenshot. Doesn't look nice.
chrome_2017-10-09_12-30-41.png
chrome_2017-10-09_12-30-41.png (204.09 KiB) Viewed 3067 times
This is the whole bunch of logs since I installed and enabled it.
2017/10/09 12:36:29 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:36:29 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:36:29 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:36:29 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:36:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:36:07 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:36:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:36:07 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:35:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:35:28 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:35:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:35:28 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:34:27 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:34:27 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:34:27 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:34:27 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:33:26 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:33:26 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:33:26 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:33:26 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:32:26 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:32:26 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:32:26 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:32:26 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:31:25 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:31:25 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:31:25 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:31:25 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:30:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:30:24 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:30:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/intropage/intropage.php: 14 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:30:24 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:29:49 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:29:49 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:29:49 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:29:49 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:29:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:29:01 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:29:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:29:01 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
2017/10/09 12:28:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 26 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:28:01 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 26
2017/10/09 12:28:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 101 api_plugin_hook)(/lib/plugins.php: 73 api_plugin_run_plugin_hook)(/lib/plugins.php: 170 intropage_console_after)(/plugins/intropage/include/settings.php: 60 display_informations)(/plugins/intropage/display.php: 141 graph_data_source)(/plugins/intropage/functions/graph_data_source.php: 22 CactiErrorHandler)(/lib/functions.php: 4421 cacti_debug_backtrace)
2017/10/09 12:28:01 - ERROR PHP NOTICE in Plugin 'intropage': Undefined index: in file: /usr/share/cacti-1.1.21/plugins/intropage/functions/graph_data_source.php on line: 22
Cheers,
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
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 »

Pucho wrote:Hi macan,

Would this be available on github to report issues and/or contribute code?

I've been reporting bugs on https://github.com/earendilfr/plugin_intropage for the version that Earendilfr has re-written and I've noticed this new release isn't there.

BTW, I attached an screenshot. Doesn't look nice.
chrome_2017-10-09_12-30-41.png
This is the whole bunch of logs since I installed and enabled it.
Hi,
I guess that this week I will transfer my version to github.

Which theme do you have? Now I'm working on other theme optimalization.
Let the Cacti grow!
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: Intro page/console homepage

Post by Pucho »

I'm currently using 'Modern'

Dark and Paw are also terrible

Classic looks fine but doesn't load the TAB image.

Paper-plane and Sunrise look fine.

I'm running cacti 1.1.21 and the source from the 1st post.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
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 »

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 »

Pucho wrote:I'm currently using 'Modern'

Dark and Paw are also terrible

Classic looks fine but doesn't load the TAB image.

Paper-plane and Sunrise look fine.

I'm running cacti 1.1.21 and the source from the 1st post.
Hi,
on github or here (first post) is version 1.1 now. It supports all Themes.
TAB image is fixed too
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest