Some simple checks on a Drobo resulting in a Nagios-compliant output
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
check_drobo

README.md

check_drobo

A Nagios plugin for monitoring a Drobo on a Linux machine.

Some simple checks on a Drobo resulting in a Nagios-compliant output. All the heavy lifting is done by Peter A Silva's splendid drobo-utils package, which you should install, and which will give you the underlying Python libraries.

You should then put this script somewhere on disk where nagios can get at it. If you want to be tidy, this might be somewhere like

/usr/lib/nagios/plugins

It needs to be run as root, so you might want to put something like the following into /etc/sudoers:

  nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_drobo

Then, in your Nagios config, define a command which uses this:

define command {
    command_name		check_drobo
    command_line		sudo /usr/lib/nagios/plugins/check_drobo
}

You can modify this to use the -d option to the check_drobo script if you want to specify which one of several Drobo devices should be checked.

Then, finally, you can define a service which uses the above command:

define service {
    use                             generic-service         ; Name of service template to use
    host_name                       localhost
    service_description             Drobo Disk Space
    check_command                   check_drobo
}

Use at your own risk, no guarantees, etc.

Quentin Stafford-Fraser Feedback welcome to quentin at pobox .dot. com.