How to configure HMIB to graph common services

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 configure HMIB to graph common services

Post by gossamer »

I have the HMIB plugin installed, but have no idea of how to actually get it to start creating graphs. I'm a Linux admin, but have very little experience with cacti. This seems to be an unnecessarily complex and seriously involved process of adding new graphs. Currently, the only graphs that exist are the four for localhost.

I have an apache webserver and a mariadb database server. What are the next steps to adding graphs for basic functions like database memory utilization and number of connections to the webserver? I don't see anything related to apache or mariadb or database or webserver or memory or anything related to this in the "New Graph Template" pull-down menu.

I see "Apache HTTP Thread Details %" and similar descriptions under "Graph Template Name", and I've selected them and clicked "Create" but yet no graphs are actually created.

The documentation makes many assumptions about how to do this. The install guide for these plugins seems to leave off after actually installing, and before explaining how to actually create the graphs.

I've enabled "automatically discover cacti devices" and "host MIB poller enabled".

Take the "slowlog" plugin, for example. I've installed successfully, and it's enabled in the "plugins" menu, but now how do I associate it with the database server and have it start plotting that data? There doesn't appear to be any "settings" menu entry available for it.
https://github.com/Cacti/plugin_slowlog
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How to configure HMIB to graph common services

Post by TheWitness »

For HMIB you have to install the device package and then from Console > Configuration > Settings > HMIB you need to spend some time on that page reading through the settings.
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How to configure HMIB to graph common services

Post by TheWitness »

On the "How to you use this plugin point". I completely agree. In any event. I just realized that there was never a Data Query published to allow you to track a specific process for a specific host. So, I just created it. The way that you would use this is to:

1. Import the Packages from Console > Import/Export > Import Package
2. Associate the new Data Query with a Device that has processes that you want to track
3. Create the Graphs for the Specific Process
4. Create any THold off of the resulting Graphs

This should work fine.
Attachments
Host_Mib_Device_Level_Application_Stats.xml.gz
(13.99 KiB) Downloaded 41 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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How to configure HMIB to graph common services

Post by TheWitness »

I've committed this to the HMIB plugin repo. I've also updated the instructions. I hope this helps.

https://github.com/Cacti/plugin_hmib/co ... d64b09648b
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 0 guests