Intro page/console homepage

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
Searcher
Posts: 4
Joined: Tue Jan 09, 2024 9:18 am

Re: Intro page/console homepage

Post by Searcher »

Hi , sorry for my bad english, I am new with cacti, I am having difficulty with intropage. My panel datasource displays an empty panel, yet when I click on details I see information (see my attachments). I'm using the latest version of intropage.
What's wrong ?
Attachments
screenshot1.png
screenshot1.png (8.6 KiB) Viewed 5361 times
screenshot2.png
screenshot2.png (20.49 KiB) Viewed 5361 times
User avatar
macan
Cacti Guru User
Posts: 1157
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

What other panels with graphs like Devices by status or CPU utilization or device templates? Are they displayed correctly?

If not it is problem with js graph library.

Which cacti version? Which intropage version?
I suggest use not intropage package 4.0.2 but use actual develop branch from github
Let the Cacti grow!
Searcher
Posts: 4
Joined: Tue Jan 09, 2024 9:18 am

Re: Intro page/console homepage

Post by Searcher »

effectively graphs like Devices by status ,CPU utilization, device templates are not displayed correctly. I use cacti 1.2.19 and until yesterday I used intropage 4.0.2.
I used today the actual develop branch from github, but it still doesn't work.
I get blank panels.
Attachments
screenshot3.png
screenshot3.png (34.95 KiB) Viewed 5276 times
User avatar
macan
Cacti Guru User
Posts: 1157
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

I recommend use cacti 1.2.26....

Try to display few first line of file cacti_install_dir/include/js/billboard.js
Actual version is version 3.10.3 or 3.7.4

And the same for cile d3.js
Let the Cacti grow!
Searcher
Posts: 4
Joined: Tue Jan 09, 2024 9:18 am

Re: Intro page/console homepage

Post by Searcher »

Thanks macan, after updating cacti to 1.2.26, intropage works correctly.
ed01076
Posts: 1
Joined: Tue Oct 29, 2024 9:26 pm

Re: Intro page/console homepage

Post by ed01076 »

Hello, I am a new user learning to use Cacti. My Cacti version is 1.2.28, Linux is Ubuntu 24.04, and PHP is version 8.3.6. I downloaded version 4.0.5 of the Intropage from GitHub, modified the permissions, and successfully installed it. I can use the Panels feature without any issues.

However, my main goal is to configure the graphs on the dashboard. As shown in the attached image, my graph has an eye icon next to it. When I click the icon, the graph does not appear in the Intropage tab or console. I have already configured the Intropage view for each user, and there are no errors in the logs.

Could you please advise me on how to add the graph to the dashboard?
Image
Image
Image
Image
User avatar
macan
Cacti Guru User
Posts: 1157
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

It seems that you have found a bug. Please report it here
https://github.com/Cacti/plugin_intropage/issues
Let the Cacti grow!
tfrench01
Posts: 27
Joined: Fri Dec 06, 2024 4:31 pm

Re: Intro page/console homepage not showing

Post by tfrench01 »

I think I loaded everything correctly, I managed to change the permissions on the folder.
Do not know why it is not starting or showing in the user permissions.
Do not see any errors in the logs.
Attachments
user login.PNG
user login.PNG (92.87 KiB) Viewed 354 times
settings intropage.PNG
settings intropage.PNG (109.51 KiB) Viewed 354 times
plugin management.PNG
plugin management.PNG (59.55 KiB) Viewed 354 times
logs.PNG
logs.PNG (108.16 KiB) Viewed 354 times
User avatar
macan
Cacti Guru User
Posts: 1157
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage not showing

Post by macan »

tfrench01 wrote: Wed Jan 15, 2025 9:36 am I think I loaded everything correctly, I managed to change the permissions on the folder.
Do not know why it is not starting or showing in the user permissions.
Do not see any errors in the logs.
Configuration -> Plugins -> Enable plugin (green icon)
Let the Cacti grow!
tfrench01
Posts: 27
Joined: Fri Dec 06, 2024 4:31 pm

Re: Intro page/console homepage - RESOLVED

Post by tfrench01 »

Hi macan,

That's what I was looking for, but this is what shows up, no option to enable it.

I hit the green check to enable it. stay tuned.. working on it.
Attachments
welcome.PNG
welcome.PNG (212.56 KiB) Viewed 334 times
plugin enable.PNG
plugin enable.PNG (146.72 KiB) Viewed 338 times
Last edited by tfrench01 on Wed Jan 15, 2025 4:06 pm, edited 1 time in total.
tfrench01
Posts: 27
Joined: Fri Dec 06, 2024 4:31 pm

Re: Intro page/console homepage

Post by tfrench01 »

Ping for top 2 devices are not alerting me. Can some one point me into the correct are to make Cacti send an alert?

Also, these errors in the log just started, not sure how to fix it.
Log [Total Lines: 542 - Admin view - Unfiltered]
2025-01-15 12:55:17 - SYSTEM INTROPAGE STATS: Time:0.03, Checks:2, Panels:2, Trends:1
2025-01-15 12:55:17 - SYSTEM MAINT STATS: Time:0.01
2025-01-15 12:55:17 - SYSTEM DSSTATS STATS: Time:0.06 Type:HOURLY
2025-01-15 12:55:16 - SYSTEM STATS: Time:14.5976 Method:cmd.php Processes:1 Threads:1 Hosts:22 HostsPerProcess:22 DataSources:1888 RRDsProcessed:955
2025-01-15 12:50:22 - SYSTEM INTROPAGE STATS: Time:0.07, Checks:13, Panels:13, Trends:7
2025-01-15 12:50:22 - SYSTEM MAINT STATS: Time:0.01
2025-01-15 12:50:22 - SYSTEM DSSTATS STATS: Time:0.04 Type:HOURLY
2025-01-15 12:50:21 - SYSTEM STATS: Time:19.5380 Method:cmd.php Processes:1 Threads:1 Hosts:22 HostsPerProcess:22 DataSources:1888 RRDsProcessed:955
2025-01-15 12:47:16 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:47:16 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717
2025-01-15 12:47:16 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:47:16 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717
2025-01-15 12:47:07 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:47:07 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717
2025-01-15 12:46:55 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:46:55 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717
2025-01-15 12:46:55 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:46:55 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717
2025-01-15 12:46:07 - CMDPHP PHP ERROR Backtrace: (C:\Apache24\htdocs\cacti\plugins\Intropage\intropage.php[46]:process_page_request_variables(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[85]:intropage_reload_panel(), C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php[717]:strpos(), CactiErrorHandler())
2025-01-15 12:46:07 - ERROR PHP DEPRECATED: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in file: C:\Apache24\htdocs\cacti\plugins\Intropage\include\functions.php on line: 717

See attached picture showing the exact line fail.
Attachments
code fail.PNG
code fail.PNG (27 KiB) Viewed 323 times
ping.PNG
ping.PNG (25.84 KiB) Viewed 330 times
User avatar
macan
Cacti Guru User
Posts: 1157
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

please report the bug (with log messages) here
https://github.com/Cacti/plugin_intropage/issues
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests