Dumb problem, but still a problem. I changed the wrong CDEF. The one I modified is attached to 18 graphs and 4 templates.
But how do I tell which?
Unlike other portions of cacti, the numbers in use are not links and I do not see a simple way other than db digging or clicking into each template (far fewer of those than individual graphs).
Thanks!
How to find which graphs are using CDEF?
Moderators: Developers, Moderators
Re: How to find which graphs are using CDEF?
xxx = your cdef id (presets->cdefs-> choose any, ID will be in URL (.../cdef.php?action=edit&id=xxx)
select distinctrow cdef_id, local_graph_id, graph_template_id FROM graph_templates_item where cdef_id=xxx;
Template = local_graph_id = 0
select distinctrow cdef_id, local_graph_id, graph_template_id FROM graph_templates_item where cdef_id=xxx;
Template = local_graph_id = 0
Let the Cacti grow!
Re: How to find which graphs are using CDEF?
Good tip, though it'd be nice if they just incorporate that into the UI!
Thanks!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: How to find which graphs are using CDEF?
Log a feature request on GitHub.
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?
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?
Re: How to find which graphs are using CDEF?
Aye Aye Cap'n!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: How to find which graphs are using CDEF?
Yea, took some time off. I lost a switch in the home lab, and just did not have the will-power to turn it back on again once the new switch arrived
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?
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?
Re: How to find which graphs are using CDEF?
HOW DARE YOU!
/s
Who is online
Users browsing this forum: No registered users and 1 guest