Cacti (home)ForumsRepositoryDocumentation

hmib

type:
plugin
plugin:
hmib
author:
the_cacti_group
description:
Host Resources MIB Poller Supplement for Cacti
version:
1.4-2
pia:
2.5++
cacti:
0.8.7e,0.8.7g,0.8.7h
homepage:
http://www.cacti.net
date:
2011-11-30
license:
GPL v2
plugins:
device,
resource,
mib,
polling

Download

This plugin can be download here: hmib-v1.4-2.tgz

Purpose

This plugin was designed with polling scalability in mind in addition to providing a dashboard for common device metrics. It is designed to offload the polling of slow devices such as disks to a sub process. In addition, the polling for different objects can be staggered at different levels thus reducing load on the poller.

A great example is disk utilization. Generally, disk utilization does not change too often. With this plugin, you can have your Cacti plotting data at 1 minute intervals, but only collect disk utilization from the host once ever 30 minutes, or an hour. With very busy Filers and Windows hosts, the Host Resource Mib polling can be slow, thus limiting the scalability of your systems. If you have this problem, hmib is for you.

Features

  • Offload Polling of Slower Devices
  • Provide Operating System Type Dashboard of Host Consumption
  • Provide An Inventory of Installed Software
  • Provide An Approximate Use of Each Process on Hosts
  • Graph Per Process Memory and CPU across all Hosts
  • Source for Threshold Alarming of Process Memory Issues
  • Graph Per Operating System Statistics for All Host Types

Prerequisites

  • Cacti 0.8.7e+
  • Cacti PIA 2.5+

Changelog

— 1.4 —

  • fix: Performance issues when viewing pages
  • fix: Pagination issues with Use History

— 1.3 —

  • fix: Workaround bug in IE6
  • fix: Don't throw warning when using 'Use History'
  • feature: Support Ugroup Plugin

— 1.2 —

  • feature: provide use history interface
  • fix: make UI W3C compliant
  • fix: respect Host edit permissions
  • fix: general UI inconsistencies
  • fix: rescan desice was broken
  • fix: fix various drill downs from summary page
  • feature: allow sysDescMatch and sysObjectIDMatch use regex

— 1.1 —

  • fix: issue when deleting dead hosts
  • feature: provide statistics for visualization of hmib runtime

— 1.0 —

  • Initial release

Installation

Installation is similar to other plugins.

  • First you install and enable from Plugin Management.
  • Then you must enable collection from Console→Settings→Host Mib.
  • Here you specify things such as
    • How many concurrent processes to poll with,
    • The frequency of polling, and more importantly,
    • The Graph Templates and Data Queries to Graph Automation. (screen shot provided)
  • Once these steps are completed, you must import a Host Template for Summary Information and install the Resource XML file for the Data Queries
  • After this, there are replacement script that you must place in the scripts directory in Cacti for the Standard Host Resources MIB Templates in Cacti. These are key.
  • Once you have installed the template, you may proceed to complete the Dropdowns under Console→Settings→Host Mib for Data Queries and Graph Templates.
  • Next, you need to observe Host Mib inventory your Cacti devices and find those that support the Host Resources Mib. The plugin will find each one of these and start to poll it's data.
  • Lastly, you must identify the host OS Types for each installed system. The identification process is much like that of MacTrack where you scan the inventory, and then use either regular expression matches or SQL Where clauses to narrow the sysDesc and sysObjectID to an OS Name and version.

After you have done all this, just sit back and enjoy. You may tune the number of concurrent processes until such time as you are happy with the load introduced by this plugin.

Enjoy

Usage

Pretty self explanitory

Additional Help?

If you need additional help, please goto http://forums.cacti.net

Possible Bugs?

See the forums.

Screenshots

A Nice Dashboard Showing the Number of Hosts by OS Type with Drilldowns

A Device List With Drilldowns

A Summary of Storage Utilization

Processes on One Host

Proper Settings for Device/Graph Automation