Howto create multiple templates that are using the same DS?

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

Moderators: Developers, Moderators

Post Reply
User avatar
seveny
Posts: 18
Joined: Thu Jun 23, 2005 9:38 am
Location: Germany

Howto create multiple templates that are using the same DS?

Post by seveny »

Hi there,

I would like to create a couple of graph-templates which use the same Data Source (doing that for monitoring a weathersttation WS2300)

I checked out
http://www.cacti.net/downloads/docs/html/templates.html
but found no hints and my experiments indicate that each graph-template creates its own data source...

Has anybody been successful with this?

Thanks,
Sven
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

seveny,
as far as I know, you're right. If it is only for a single host, you may go to "Graph Management". There, you may add a single graph definition (using "Add" in the top right corner). By filling the php forms, you may reference an existing data source (just did that a few days ago for testing pupose).
But I do not know how to put this into some kind of "template". For lots of hosts this is boring/impossible.

Reinhard
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is an open bug with the development team. Ian did anticipate allowing multiple graphs to utilize the same data source, but never got to making the UI smart enough to detect and utilize them.

It probably only four or five hour coding fix.

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 2 guests