PatrickNByrne / check_freenas

A Nagios type plugin to check Freenas health status
Apache License 2.0
1 stars 1 forks source link

check_freenas

GitHub issues license

A Nagios type plugin to query the Freenas API for volume and disk status

Requirements

Installation

Nagios Example

# 'check_freenas-disks' command definition
define command{
    command_name    check_freenas-disks
    command_line    $USER1$/check_freenas.py -H $HOSTADDRESS$ -c disks -u root -p $ARG1$
    }

# 'check_freenas-volumes' command definition
define command{
    command_name    check_freenas-volumes
    command_line    $USER1$/check_freenas.py -H $HOSTADDRESS$ -c volumes -u root -p $ARG1$
    }

Usage

check_freenas.py  [-h] 
                  -H HOSTNAME 
                  -u USER 
                  -p PASSWD 
                  [-t TIMEOUT] 
                  [-v]
                  [-i] 
                  -c {disks,volumes,alerts}

Notes

History

License