Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Nagios Plugin to check health of 3ware RAID controllers and RAID status

- Nagios 3 or newer
- NRPE configured at the RAID host
- tw_cli by 3ware: http://bit.ly/zgzlVq


Assume your Nagios plugins are located under /usr/local/nagios/ - otherwise adjust the
path settings below as needed.

Make sure you added the helper (bundled by this plugin) to the root crontab of the system:
e.g.: running the helper every 5 minutes:

  */5 * * * * [ -x /usr/local/nagios/libexec/check_3ware_raid_helper ] && /usr/local/nagios/libexec/check_3ware_raid_helper

Note: the directory /usr/local/nagios/tmp is necessary / required and it must be writable by the Nagios helper scripts!

In your nrpe configuration file, add a line like this:

Restart the nrpe daemon.

On the other side (Nagios monitoring host), configure the new check command, e.g.:

  define service{
          use                             generic-service
          host_name                       host-with-3ware-raid
          service_description             3ware RAID
          check_command                   check_nrpe!check_3ware_raid
          contact_groups                  admins

Reload Nagios configuration and see how it works.