Multihost summary graphs -- how?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
pruesse
Posts: 2
Joined: Mon Sep 12, 2005 5:12 am
Contact:

Multihost summary graphs -- how?

Post by pruesse »

I don't like the optics and it's inabillity to acquire data via snmp of ganglia, so I'm using cacti.

BUT, I can't seem to be able to find a way to easily create graphs that sum/average/max stats from a group of hosts. Manually, I can, but for dozens of hosts it's a pain to create the graphs manually. Is there any way to, say, create a virtual host that sums all data from a group of hosts? Or to create a graph template that I can just add a number of hosts to? I'd like to graph things like "how much of my clusters total memory is used right now?", "which are the five machines with the highest load? what is the difference between average and maximum cpu-load on that group of nodes?"

If it can't be done without php coding, how much work would you guess it would be for someone who knows a little php, but doesn't know cactis interna well? (How should it be done, where would I start?)

./regards
Elmar
axelilly
Posts: 27
Joined: Thu Aug 04, 2005 12:23 pm

Post by axelilly »

I think read about this same kind of issue somewhere else in the forum once. If I recall correcltly (and I may be very incorrect here), the answer was to create a CDEF that would add the select data sources together using the SUM operator.

I hope that may help to lead you in the right direction.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The real answer would be to select multiple Data Sources from the UI and then have a drop down pick for something like "Create Multiple Interface Graph".

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
orsoone
Posts: 1
Joined: Sun Nov 18, 2007 2:46 pm

Cacti graph 2 WAN interfaces in single graph

Post by orsoone »

This taste of waste create a graph of download from 2 interfaces on WAN side, that are added in cacti and upload
there are 4 checkboxes > WAN1 IN - select wan interface on router - in / represent download
WAN2 IN - secondary WAN interface / backup connect or secondary peering point of network

WAN1&2 OUT wan interfaces direction out

I have used 2 very simple cdefs in this graf
first for sum WAN1 in and WAN2 in and turn into bits/s > a,b,+,8.*
second cdef for upload> c,d,+,8,*
i am using cacti 0.8.6.i
sory for my wery bad english
Attachments
cacti_graph_template_2xint_test.xml
graph template for adding two interfaces sumary bandwith in one graph
(8.22 KiB) Downloaded 201 times
screenshot
screenshot
2xWAN.jpg (18.88 KiB) Viewed 1917 times
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests