graph-sets?

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

graph-sets?

Post by Howie »

I have a bunch of graph templates and data templates that refer to net-snmp 'extend' MIB entries on our servers. They tend to come in groups:
qmail queuesize, smtp concurrency, pop3 concurrency and so on, all together.

What I'd like is a way to add groups of graphs to a host, all in one go. Like Host Templates, except that they can be overlaid more than one per host. I have a host that needs the DNS graph-set and the Qmail graph-set, but another one has Qmail and NNTPCache.

Currently, as far as I know, the only way to do this is graph-by-graph and datasource by datasource, which is pretty time-consuming.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: graph-sets?

Post by cigamit »

Howie wrote:I have a bunch of graph templates and data templates that refer to net-snmp 'extend' MIB entries on our servers. They tend to come in groups:
qmail queuesize, smtp concurrency, pop3 concurrency and so on, all together.

What I'd like is a way to add groups of graphs to a host, all in one go. Like Host Templates, except that they can be overlaid more than one per host. I have a host that needs the DNS graph-set and the Qmail graph-set, but another one has Qmail and NNTPCache.

Currently, as far as I know, the only way to do this is graph-by-graph and datasource by datasource, which is pretty time-consuming.
Why not add a host template with the QMail graphs, then a host template with the DNS graphs. You can then assign the host to the QMail, create graphs, then assign it to the DNS host template, and create the graphs. We you assign it to one group, and then the other, it will retains the old graph associations from the last host template.

This is currently how we do it, as we have domain controllers, dns servers, IIS Servers, data servers, term servers, sql servers, and a few that are a mixture of a few of them. I have thought of integrating the ability to assign multiple host templates to a device, but its easy enough to just to it this way.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um...

Why don't you create more than one host template?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

rony wrote:Um...

Why don't you create more than one host template?
Ummm, how do you apply more than one? There's just a single combo box in the Device screen.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Howie wrote:
rony wrote:Um...

Why don't you create more than one host template?
Ummm, how do you apply more than one? There's just a single combo box in the Device screen.
Edit Device / Click on first host template / click Save
Edit Device / Click on second host template / click Save
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Or you can create different host templates for you common monitoring types.

Or reapply the host templates. ;)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

rony wrote:Or you can create different host templates for you common monitoring types.

Or reapply the host templates. ;)
The thing was that it was combinations of sets of graphs. No two systems have exactly the same set. I hadn't realised that you could change the Host Template and have it leave the old graphs behind. My mental model for it was more of a live-inheritance kind of thing - obviously that's just me :-)

With that in mind, I'll make the host templates.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is a feature request for "sticky" templates. But, to date, it is not a priority.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests