Monitor Dell EMC SAN Using Icinga Director

Hello all,
I need help to define the check command for the check_vnx_usage plugin.
I would like to monitor our storage system and therefor have found the plugin below.

Now I need a sample check command of the plugin since it was not given on the website.

Regards

Hey,

Scroll down, the readme has the content:

# 'check_vnx_usage' command definition
define command{
        command_name    check_vnx_usage
        command_line    $USER1$/check_by_ssh -t 40 -q -l nasadmin -H $HOSTADDRESS$ -C "/home/nasadmin/check_vnx_usage.py -P -w $ARG1$ -c $ARG2$"
        }

@EmmaTinten Icinga(1) is deprected, i think he wants a command configuration for icinga2.

@cooljay here you go, put it into your global-templates dir on first master or if you like pain go for it in director :slight_smile:

object CheckCommand "vnc_usage" {
	command = [ PluginDir + "/check_vnc_usage" ]
	 
	arguments = {
		"-p" = {
			value = "$vnc_usage_path$"
			description = "path of a particular file system to be monitored (default: none)"
			required = true
		}
		"-w" = {
			value = "$vnc_usage_warning$"
			description = "consumption warning threshold (default: 80%)"
		}
		"-c" = {
			value = "$vnc_usage_critical$"
			description = "consumption critical threshold (default: 90%)"
		}
		"-P" = {
			set_if = "$vnc_usage_perfdata$"
			description = "enables performance data (default: no)"
		}
	}
	
	vars.vnc_usage_perfdata = true //we want always perfdata :)
	
}

Regards,
Carsten