Manuel Angel Fernandez published a new interesting plugin for Pandora FMS in his blog (spanish).

It’s an agent plugin to search the system attached drives and retrieve the S.M.A.R.T status. This parameter is a simple value that show if the drive is Failing or Not.

It uses smartctl command, so will be necessary have installed smartmontools. Manuel Angel advice us that is necessary a modern version of this package to support –scan parameter.

The process to use is so simple:

  • Create the plugin file on the agent’s plugins folder.
  • Add a line to the agent’s configuration file:

    module_plugin plugin_file_name

  • Restart the agent

A module for each found drive will be created with 0 if drive is OK and 1 if drive reports Fail. You can edit plugin easily to adapt it to your needs.

You can find this plugin in addition to manu other in our module library

download_it-08

Thanks to Manuel Angel for the plugin. Here is his original POST.

If you have any plugin or something that you want to share, don’t be shy. Send it to us:

icon_contact_us

Shares