Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jul 23, 2017 7:40 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Intro page/console homepage
PostPosted: Fri Feb 07, 2014 1:56 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
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, ..)
- Mactrack (up, down, ...)
- Database check
- Statistics of datasources and templates
- Poller statistics
- Current time check
- 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, 0.91 is for cacti >= 1.0X!


Please read readme.txt

dl stats: 0.3 - 146/0.4 - 712/0.5 - 495/0.6 - 165/0.7 - 1028/0.85 - 1236


Attachments:
File comment: Intropage v0.91 (for cacti 1.0.x)
intropage_0.91.tar [102.5 KiB]
Downloaded 270 times
File comment: intropage v 0.85 (for cacti 0.8.x)
intropage_0.85.tgz [32.39 KiB]
Downloaded 1416 times
File comment: Screenshot 1 - intropage
intropage_1.png
intropage_1.png [ 113.4 KiB | Viewed 9810 times ]
File comment: Screenshot 2 - settings
screenshot_2.png
screenshot_2.png [ 96.2 KiB | Viewed 11738 times ]

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Last edited by macan on Thu Mar 23, 2017 2:21 pm, edited 14 times in total.
Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Fri Feb 07, 2014 4:27 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2597
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Mon Feb 10, 2014 6:48 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
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

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Feb 13, 2014 12:38 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
macan wrote:
Ok, no problem. I will do it as soon as posibble


Done :-)
http://docs.cacti.net/userplugin:intropage

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Feb 13, 2014 1:44 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2597
Location: Kressbronn, Germany
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 Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Mon Mar 10, 2014 5:18 am 
Offline
Cacti User

Joined: Mon May 03, 2010 11:48 am
Posts: 71
there is an error in the script setup.php.

This on line 57:

Code:
        // all
        $sql  = "SELECT * FROM thold_data ";


should be this:

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



ciao

_________________
_________________
Cacti - 0.8.8c
Poller Type - SPINE 0.8.7i
Server Info - Linux 2.6.31.14 - Opensuse 11
Web Server - Apache/2.2.13 PHP 5.3.3
MySQL - 5.1.49 ;RRDTool - 1.3.7 ;SNMP - 5.4.2.1


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Tue Mar 25, 2014 5:04 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
hmorandell wrote:
there is an error in the script setup.php.

This on line 57:

Code:
        // all
        $sql  = "SELECT * FROM thold_data ";


should be this:

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



ciao



Thank you, I found this error too and it is fixed

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Jun 25, 2014 5:37 am 
Offline

Joined: Tue Sep 17, 2013 4:50 am
Posts: 2
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.
Attachment:
Capture.PNG
Capture.PNG [ 176.69 KiB | Viewed 13515 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.


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Jun 25, 2014 5:58 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
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.
Attachment:
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.

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Jun 25, 2014 6:55 am 
Offline

Joined: Tue Sep 17, 2013 4:50 am
Posts: 2
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 423 times
index.txt [14.07 KiB]
Downloaded 405 times
Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Aug 06, 2014 5:52 pm 
Offline
Cacti User

Joined: Thu Apr 22, 2010 1:23 pm
Posts: 54
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 :)


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Sep 18, 2014 2:45 am 
Offline
Cacti User
User avatar

Joined: Mon Oct 02, 2006 1:22 pm
Posts: 193
Location: Belgium
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


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Nov 13, 2014 2:45 am 
Offline

Joined: Fri Feb 03, 2012 4:05 am
Posts: 5
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 277 times
Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Thu Nov 13, 2014 3:10 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
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!

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: Intro page/console homepage
PostPosted: Wed Jan 21, 2015 1:31 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 92
Location: Czech
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.

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  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