Skip to content
A Nagios type plugin to check Freenas heath status
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 1 commit behind PatrickNByrne:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


GitHub issues license

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


  • Python 2.6+
  • Python Requests


  • Copy the file to your Nagios plugins directory.
  • Create a check command to reference the plugin.
  • Create a service check associated with your Freenas host in your monitor using the new check command.

Nagios Example

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

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

Usage  [-h] 
                  -H HOSTNAME 
                  -u USER 
                  -p PASSWD 
                  [-t TIMEOUT] 
                  -c {disks,volumes,alerts}


  • Due to a lack of authentication methods in the Freenas V1.0 API you must use your root user to authenticate.


  • V1.0 - Initial production release
  • V1.2 - Add verbose and ignore SSL options. Add additional handling for SSL Errors.
  • V1.3 - Add nagios output for alert checks


  • Apache 2.0
You can’t perform that action at this time.