How to make graph templates available?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
gossamer
Posts: 11
Joined: Wed Mar 08, 2023 4:36 pm

How to make graph templates available?

Post by gossamer »

I've installed the HMIB plugin and would like to use it to monitor mariadb database performance, memory usage, etc. How do I make these "graph templates" available to a host?

For example, if I go to Management -> Devices, then select my host, at the bottom there is "Add Graph Template" but nothing related to databases appears there. This is a fedora37 server.

I see "Cacti Stats" and "Synology" (which is not at all useful), but nothing related to mariadb or monitoring, for that matter. What am I missing?

Where are the usage instructions beyond just installing it? And do I need to use the front-end to add every single service? Isn't there a way to configure this from the command-line so it's much faster?
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to make graph templates available?

Post by macan »

You have to import template for mysql. Cacti is distributed with only a few basic templates
Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How to make graph templates available?

Post by TheWitness »

I just made a recent update to HMIB and introduced a Data Query package that includes a Data Query to monitor individual services on a host. You need first import that package, the add the Data Query to each Device that you want to Graph. Then, create the individual graphs of services that you want to monitor. There is presently no automation in the HMIB plugin for those graphs as it would simply be too many. But you can use Cacti's automation to build an Graph Automation Template to do such things. See the image below of the Data Query that you need to add.
Attachments
HostMibApplicationStats.png
HostMibApplicationStats.png (185.34 KiB) Viewed 1082 times
HostMibApplicationStatsHost.png
HostMibApplicationStatsHost.png (153.4 KiB) Viewed 1082 times
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