Pandora: Documentation en: Energy Efficiency

From Pandora FMS Wiki
Jump to: navigation, search

Go back to Pandora FMS documentation index

Energy Efficiency with Pandora FMS

Sustainability and energy efficiency are saving. Different manufacturers, both software and hardware. They propose different methods, strategies and tools. Pandora FMS can integrate all of them in a single tool.



Esquema dcm.png



IPMI plugin for Pandora FMS

IPMI (Intelligent Platform Management Interface) is an interface created by Intel in order to administrate and monitor IT systems. Through IPMI, for example, check the temperature sensors, voltages and ventilator velocity, all of them in a remote way.

Working of the IPMI plugin

Monitoring through IPMI is based on two components:A plugin that collects data from the device and a Recon Task that discover in an authomatic way all the devices of one network that supports IPMI.


Installing the Plugin and the Recon task

Prerequisites

Both the plugin and the recon task needs the tool FreeIPMI from its version 0.7.16

In Debian distributions, it's possible to use the command:

#apt-get install freeipmi-tools

Register of the IPMI plugin

The first step is to register the plugin. If you have any doubt, you can check the section Monitoring with plugins.

The parameters of the plugin registration are the following ones:



Ipmi plugin registration.png



The values that you should enter in the different fields are these:


  • Name: IPMI Plugin
  • Plug-in Command: /home/admin/ipmi-plugin.pl (Path where is the ipmi-plugin.pl file )
  • Plug-in type: Standard
  • Max. timeout: 300
  • IP address option: -h
  • Port option: <vacio>
  • User option: -u
  • Password option: -p
  • Description: This plugin gets information from IPMI devices.


Template warning.png

It's very important to use "IPMI Plugin" for plugin name because the correct behavior of recon task depends on it

 


Registration of the Recon Script

The second step to finish the installation is to register the Recon Script. You can see the complete process of registration at section Recon Server. The registered plugin will be like this



Ipmi recon registration.png



  • Name: IPMI Discovery
  • Script fullpath: /home/admin/ipmi-recon.pl (Path where is the ipmi-recon.pl file)

Monitoring with the IPMI plugin

To start the monitoring we need to create a Recon Task that discovers all the IPMI devices. This task will create one agent by each device discovered, and the modules with all the available checks for each device.

The following screenshot shows an example to explore the network 192.168.70.0/24 in it all the IPMI devicew have as credentials admin/admin,



Ipmi recon example.png



With this configuration, the Recon Task will do a network discovery and will create one agent by each device found with all the available modules.

In the following image you can see the end result, some of the modules created in one agent of the explored network.



Ipmi monitors.png



OEM Values Monitoring

The values returned by the IPMI commands depends on each manufacturer. Because of this, it is possible that by default the Recon Task doesn't find the module that it needs to monitor.

Besides the modules by default, each manufacturer can enable a serial of OEM commands from their own baseboards.You can check the supported devices and the available commands for each one at:http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html

With these commands you can create one module type plugin that executes the necessary command. You can see how to do this in the section Monitoring with Plugins.

Go back to Pandora FMS documentation index