Intro page/console homepage

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

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

Intro page/console homepage

Post by macan »

Dashboard for Cacti

More than 20 panels, you can add any graphs to your dashboard. Autorefresh, drag and drop panels, ...

- 24 hours extrems
- Hosts (up, down, ...)
- Thresholds (trigged, breached, ..) and last thold events
- plugins monitor, mactrack, maint ...
- Database and time check
- Statistics of datasources and templates
- Poller statistic
- Boost statistic
- Failed logins
- Host without graphs, without tree, ..
- Top 5 with the worst ping response and availability

Version <= 0.85 works fine in Cacti 0.8.x,
Version 1.x and 2.x is working with Cacti older versions 1.2.X.
Version 3.0.x is working with Cacti 1.2.X up to 1.2.16.
Version 4.x is for Cacti 1.2.17 and newer


Official GIT
https://github.com/Cacti/plugin_intropage

Please read readme

dl stats: 0.3 - 146/0.4 - 712/0.5 - 495/0.6 - 165/0.7 - 1028/0.85 - 1460/0.9 - 340/1.0 - 50/1.1 - 48/1.2+1.3 - 25/1.4 - 50/1.5 - 25/1.5.1 - 30/1.6 - 50/1.7 - 122/1.8 - 88
Attachments
Screenshot
Screenshot
intropage_1.4.png (259.29 KiB) Viewed 17023 times
intropage_0.85.tgz
Version 0.85 for Cacti version < 1.0
(32.39 KiB) Downloaded 1122 times
Last edited by macan on Tue Apr 06, 2021 1:48 pm, edited 38 times in total.
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 »

You should create a plugin out of this and make use of the api hook:

api_plugin_hook('console_after');

that's why it's in there.
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: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

phalek wrote:You should create a plugin out of this and make use of the api hook:
api_plugin_hook('console_after');
that's why it's in there.
Ok, no problem. I will do it as soon as posibble
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

macan wrote:Ok, no problem. I will do it as soon as posibble
Done :-)
http://docs.cacti.net/userplugin:intropage
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 »

Thanks.

That way you don't have to worry about version upgrades and maintenance of the index.php file :-)
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
hmorandell
Cacti User
Posts: 73
Joined: Mon May 03, 2010 11:48 am

Re: Intro page/console homepage

Post by hmorandell »

there is an error in the script setup.php.

This on line 57:

Code: Select all

        // all
        $sql  = "SELECT * FROM thold_data ";
should be this:

Code: Select all

        // all
        $sql  = "SELECT count(*) FROM thold_data ";

ciao
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

hmorandell wrote:there is an error in the script setup.php.

This on line 57:

Code: Select all

        // all
        $sql  = "SELECT * FROM thold_data ";
should be this:

Code: Select all

        // all
        $sql  = "SELECT count(*) FROM thold_data ";

ciao

Thank you, I found this error too and it is fixed
Let the Cacti grow!
christophep
Posts: 2
Joined: Tue Sep 17, 2013 4:50 am

Re: Intro page/console homepage

Post by christophep »

Hi,

I thanks you for your page. There is a couple of months i had the same wish and the same need.

As you can see in attached file i redo the index.php adding some tools like graphs.
Capture.PNG
Capture.PNG (176.69 KiB) Viewed 31469 times
I don't know how to make a plugin so i will not publish this page but if you want i can give you the source code and can help you to translate it.

Best regards, Christophe.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

christophep wrote:Hi,

I thanks you for your page. There is a couple of months i had the same wish and the same need.

As you can see in attached file i redo the index.php adding some tools like graphs.
Capture.PNG
I don't know how to make a plugin so i will not publish this page but if you want i can give you the source code and can help you to translate it.

Best regards, Christophe.
Hi Christophe,
please give me your code and I will try to join your work to this plugin ... or we can do it together.
I have only one new idea for intro page plugin - add simple graphs Top X - for top X device with the biggest CPU load, memory utilization, ...
I sight this on HP iMC NMS and I think that is very usefull.

Of course, you can build your own plugin, it is easy. You can use my plugin as example.
Let the Cacti grow!
christophep
Posts: 2
Joined: Tue Sep 17, 2013 4:50 am

Re: Intro page/console homepage

Post by christophep »

hi,

the code is attached.
In this code you can find:
> 1 pie chart for monitored host states (UP; Down; Unknown ; Recovery)
> 1 pie chart for threshold states (Normal; triggered; breached)
> a thumbmail for a weathermap
> 7 rows for current administration:
>a list of devices in dooble
>a list of hosts in dooble into the tree
>a list of hosts witch have no graphs
>a list hosts witch are not into the tree (orphan hosts ; a specific need due to multiple administrators)
>a list of host not monitored
>a list of devices discovered and ready to be added
>a list of hosts with a bad timeout (a specific need)
> Statistics (number of hosts ; nb graphs ; nb thresholds)

All the charts and list have hypertext link to go directly where you need.

The page camembert.php is not mine ; the autor is Didier STRAUS.

@Macan : In your own page i like these features : Logs; logins and the buttons (polling finished in time ; warnings and failed logins).

Replace index.txt by index.php and camembert.txt by camembert.php ;-) It's evident.
Attachments
camembert.txt
(6.2 KiB) Downloaded 867 times
index.txt
(14.07 KiB) Downloaded 906 times
JohnYYC
Cacti User
Posts: 58
Joined: Thu Apr 22, 2010 1:23 pm

Re: Intro page/console homepage

Post by JohnYYC »

macan wrote:Hi,
I tried to prepare new intro page with more information. I think, that any "summary screen" is missing in cacti.
There is small preview of:
- hosts (up, down, ...)
- Thresholds (trigged, breached, ..)
- statistics of datasources and templates
- Poller statistics
- Current time check
- Failed logins
- Host without graphs, without tree, ..
- Top 5 with the worst ping response eand availability

Each value in the table is a link to the appropriate page. Everyone who have "Console permission" can see it.

Tested on 0.8.8a

Thank you for making this! Love having everything displayed all in one place with visuals :)
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Intro page/console homepage

Post by JorisFRST »

Thanks alot for this one,
we are just working on giving a "level 2" team access to the monitoring systems.

This will help a lot to simplify my documentation to "go to console, watch for red button."

And management likes pretty pictures too ;-)
Joris.
http://www.routerjanitor.com
gildas33
Posts: 5
Joined: Fri Feb 03, 2012 4:05 am

Re: Intro page/console homepage

Post by gildas33 »

macan wrote:Hi,
I tried to prepare new intro page with more information. I think, that any "summary screen" is missing in cacti.
There is small preview of:
- hosts (up, down, ...)
- Thresholds (trigged, breached, ..)
- statistics of datasources and templates
- Poller statistics
- Current time check
- Failed logins
- Host without graphs, without tree, ..
- Top 5 with the worst ping response eand availability

Each value in the table is a link to the appropriate page. Everyone who have "Console permission" can see it.

Tested on 0.8.8a
Hi Macan !!

Thanks a lot for your plugin !!

I've change your source code to insert the plugin MacTrack like this :
Image
Attachments
setup.php.txt
(30.62 KiB) Downloaded 730 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

gildas33 wrote:
Hi Macan !!

Thanks a lot for your plugin !!

I've change your source code to insert the plugin MacTrack like this :
Image
Hi gildas33,
great, I will insert your work to intropage plugin as soon as possible :-)

Thank you!
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Intro page/console homepage

Post by macan »

macan wrote:
gildas33 wrote:
Hi Macan !!

Thanks a lot for your plugin !!

I've change your source code to insert the plugin MacTrack like this :
Image
Hi gildas33,
great, I will insert your work to intropage plugin as soon as possible :-)

Thank you!

Done, please try version 0.5.
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests