object CheckCommand "madrisan-uptime" {
	command = [ PluginDir + "/madrisan/check_uptime" ]

	arguments += {
		"-m" = {
			description = "use the monotonic clock for retrieving the time"
			set_if = "$madrisan_uptime_monotonic$"
		}
		"-w" = {
			description = "Warning threshold in Minutes"
			value = "$madrisan_uptime_warning$"
		}
		"-c" = {
			description = "Critical threshold in Minutes"
			value = "$madrisan_uptime_critical$"
		}
	}
}

object CheckCommand "madrisan-clock" {
	command = [ PluginDir + "/madrisan/check_clock" ]

	arguments += {
		"-r" = {
			description = "the clock reference (in seconds since the Epoch)"
			value = DateTime().format("%s")
		}
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan_clock_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan_clock_critical$"
		}
	}
}

object CheckCommand "madrisan-cpu" {
	command = [ PluginDir + "/madrisan/check_cpu" ]

	arguments += {
		"-m" = {
			description = "do not display the CPU model in the output message"
			set_if = "$madrisan-cpu_no-cpu-model$"
		}
		"-p" = {
			description = "display the utilization of each CPU"
			set_if = "$madrisan-cpu_per-cpu$"
		}
		"-w" = {
			description = "Warning threshold in percent"
			value = "$madrisan-cpu_warning$"
		}
		"-c" = {
			description = "Critical threshold in percent"
			value = "$madrisan-cpu_critical$"
		}
		"delay" = {
			description = "delay is the delay between updates in seconds (default: 1sec)"
			value = "$madrisan-cpu_delay$"
			skip_key = true
			order = 1
		}
		"count" = {
			description = "count is the number of updates (default: 2), 1 means the percentages of total CPU time from boottime."
			value = "$madrisan-cpu_count$"
			skip_key = true
			order = 2
		}
	}
}

object CheckCommand "madrisan-iowait" {
	command = [ PluginDir + "/madrisan/check_iowait" ]

	arguments += {
		"-m" = {
			description = "do not display the CPU model in the output message"
			set_if = "$madrisan-iowait_no-cpu-model$"
		}
		"-p" = {
			description = "display the utilization of each CPU"
			set_if = "$madrisan-iowait_per-cpu$"
		}
		"-w" = {
			description = "Warning threshold in percent"
			value = "$madrisan-iowait_warning$"
		}
		"-c" = {
			description = "Critical threshold in percent"
			value = "$madrisan-iowait_critical$"
		}
		"delay" = {
			description = "delay is the delay between updates in seconds (default: 1sec)"
			value = "$madrisan-iowait_delay$"
			skip_key = true
			order = 1
		}
		"count" = {
			description = "count is the number of updates (default: 2), 1 means the percentages of total CPU time from boottime."
			value = "$madrisan-iowait_count$"
			skip_key = true
			order = 2
		}
	}
}

object CheckCommand "madrisan-cpufreq" {
	command = [ PluginDir + "/madrisan/check_cpufreq" ]

	arguments += {
		"-m" = {
			description = "do not display the CPU model in the output message"
			set_if = "$madrisan-cpufreq_no-cpu-model$"
		}
		"-H" = {
			description = "show output in Hz"
			value = "$madrisan-cpufreq_herz$"
		}
		"-K" = {
			description = "show output in kHz"
			value = "$madrisan-cpufreq_kiloherz$"
		}
		"-M" = {
			description = "show output in mHz"
			value = "$madrisan-cpufreq_megaherz$"
		}
		"-G" = {
			description = "show output in gHz"
			value = "$madrisan-cpufreq_gigaherz$"
		}
		"-w" = {
			description = "Warning threshold in kilo herz"
			value = "$madrisan-cpufreq_warning$"
		}
		"-c" = {
			description = "Critical threshold in kilo herz"
			value = "$madrisan-cpufreq_critical$"
		}
	}
}

object CheckCommand "madrisan-cswch" {
	command = [ PluginDir + "/madrisan/check_cswch" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-cswch_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-cswch_critical$"
		}
		"delay" = {
			description = "delay is the delay between updates in seconds (default: 1sec)"
			value = "$madrisan-cswch_delay$"
			skip_key = true
			order = 1
		}
		"count" = {
			description = "count is the number of updates (default: 2)"
			value = "$madrisan-cswch_count$"
			skip_key = true
			order = 2
		}
	}
}

object CheckCommand "madrisan-docker" {
	command = [ PluginDir + "/madrisan/check_docker" ]

	arguments += {
		"-i" = {
			description = "limit the investigation only to the containers running IMAGE"
			value = "$madrisan-docker_image$"
		}
		"-b" = {
			description = "show output in bytes"
			set_if = "$madrisan-docker_bytes$"
		}
		"-k" = {
			description = "show output in kilo bytes"
			set_if = "$madrisan-docker_kilobytes$"
		}
		"-m" = {
			description = "show output in mega bytes"
			set_if = "$madrisan-docker_megabytes$"
		}
		"-g" = {
			description = "show output in giga bytes"
			set_if = "$madrisan-docker_gigabytes$"
		}
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-docker_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-docker_critical$"
		}
	}
}

object CheckCommand "madrisan-fc" {
	command = [ PluginDir + "/madrisan/check_fc" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-fc_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-fc_critical$"
		}
		"-i" = {
			description = "show the fc_host class object attributes"
			set_if = "$madrisan-fc_fchostinfo$"
		}
		"delay" = {
			description = "delay is the delay between updates in seconds (default: 1sec)"
			value = "$madrisan-fc_delay$"
			skip_key = true
			order = 1
		}
		"count" = {
			description = "count is the number of updates (default: 2), 1 means the total inbound/outbound traffic from boottime."
			value = "$madrisan-fc_count$"
			skip_key = true
			order = 2
		}
	}
}

object CheckCommand "madrisan-ifmountfs" {
	command = [ PluginDir + "/madrisan/check_ifmountfs" ]

	arguments += {
		"filesystem" = {
			skip_key = true
			description = "Filesystem to check if it is mounted."
			required = true
			value = "$madrisan-ifmountfs_filesystem$"
		}
	}
}

object CheckCommand "madrisan-intr" {
	command = [ PluginDir + "/madrisan/check_intr" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-intr_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-intr_critical$"
		}
		"delay" = {
			description = "delay is the delay between updates in seconds (default: 1sec)"
			value = "$madrisan-intr_delay$"
			skip_key = true
			order = 1
		}
		"count" = {
			description = "count is the number of updates (default: 2)"
			value = "$madrisan-intr_count$"
			skip_key = true
			order = 2
		}
	}
}

object CheckCommand "madrisan-load" {
	command = [ PluginDir + "/madrisan/check_load" ]

	arguments += {
		"-1" = {
			description = "WLOAD1,CLOAD1   warning and critical thresholds for load1"
			value = "$madrisan-load_load1$"
		}
		"-5" = {
			description = "WLOAD5,CLOAD5   warning and critical thresholds for load5"
			value = "$madrisan-load_load5$"
		}
		"-15" = {
			description = "WLOAD15,CLOAD15   warning and critical thresholds for load15"
			value = "$madrisan-load_load15$"
		}
		"-r" = {
			description = "divide the load averages by the number of CPUs"
			set_if = "$madrisan-load_percpu$"
		}
	}
}

object CheckCommand "madrisan-memory" {
	command = [ PluginDir + "/madrisan/check_memory" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-memory_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-memory_critical$"
		}
		"-a" = {
			description = "display the free/available memory"
			set_if = "$madrisan-memory_available$"
		}
		"-b" = {
			description = "show output in bytes"
			set_if = "$madrisan-memory_bytes$"
		}
		"-k" = {
			description = "show output in kilo bytes"
			set_if = "$madrisan-memory_kilobytes$"
		}
		"-m" = {
			description = "show output in mega bytes"
			set_if = "$madrisan-memory_megabytes$"
		}
		"-g" = {
			description = "show output in giga bytes"
			set_if = "$madrisan-memory_gigabytes$"
		}
		"-s" = {
			description = "display the virtual memory perfdata"
			set_if = "$madrisan-memory_vmstats$"
		}
	}
}

object CheckCommand "madrisan-multipath" {
	command = [ PluginDir + "/madrisan/check_multipath" ]

	arguments += {
		"option" = {
			skip_key = true
			description = "Multipath option?"
			value = "$madrisan-multipath_option$"
		}
	}
}

object CheckCommand "madrisan-nbprocs" {
	command = [ PluginDir + "/madrisan/check_nbprocs" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-memory_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-memory_critical$"
		}
		"--threads" = {
			description = "display the number of threads"
			set_if = "$madrisan-memory_threads$"
		}

	}
}

object CheckCommand "madrisan-network" {
	command = [ PluginDir + "/madrisan/check_network" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-network_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-network_critical$"
		}
		"-i" = {
			description = "only display interfaces matching a regular expression"
			value = "$madrisan-network_ifname$"
		}
		"-k" = {
			description = "report an error if at least a link is down"
			set_if = "$madrisan-network_ckeck-link$"
		}
		"-l" = {
			description = "skip the loopback interface"
			set_if = "$madrisan-network_no-loopback$"
		}
		"-W" = {
			description = "skip the wireless interfaces"
			set_if = "$madrisan-network_no-wireless$"
		}
		"-%" = {
			description = "return percentage metrics if possible"
			set_if = "$madrisan-network_perc$"
		}
		"delay" = {
			description = "delay is the delay between the two network snapshots in seconds (default: 1sec)"
			value = "$madrisan-network_delay$"
			skip_key = true
			order = 1
		}
		"-b" = {
			description = "omit the rx/tx bytes counter from perfdata"
			set_if = "$madrisan-network_no-bytes$"
		}
		"-C" = {
			description = "omit the collisions counter from perfdata"
			set_if = "$madrisan-network_no-collisions$"
		}
		"-d" = {
			description = "omit the rx/tx drop counter from perfdata"
			set_if = "$madrisan-network_no-drops$"
		}
		"-e" = {
			description = "omit the rx/tx errors counter from perfdata"
			set_if = "$madrisan-network_no-errors$"
		}
		"-m" = {
			description = "omit the multicast counter from perfdata"
			set_if = "$madrisan-network_no-multicast$"
		}
		"-p" = {
			description = "omit the rx/tx packets counter from perfdata"
			set_if = "$madrisan-network_no-packets$"
		}
		"-r" = {
			description = "consider the received traffic only in the thresholds"
			set_if = "$madrisan-network_rx-only$"
		}
		"-t" = {
			description = "consider the transmitted traffic only in the thresholds"
			set_if = "$madrisan-network_tx-only$"
		}
	}
}

object CheckCommand "madrisan-network-collisions" {
	command = [ PluginDir + "/madrisan/check_network_collisions" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-network-collisions_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-network-collisions_critical$"
		}
		"-i" = {
			description = "only display interfaces matching a regular expression"
			value = "$madrisan-network-collisions_ifname$"
		}
		"-k" = {
			description = "report an error if at least a link is down"
			set_if = "$madrisan-network-collisions_ckeck-link$"
		}
		"-l" = {
			description = "skip the loopback interface"
			set_if = "$madrisan-network-collisions_no-loopback$"
		}
		"-W" = {
			description = "skip the wireless interfaces"
			set_if = "$madrisan-network-collisions_no-wireless$"
		}
		"-%" = {
			description = "return percentage metrics if possible"
			set_if = "$madrisan-network-collisions_perc$"
		}
		"delay" = {
			description = "delay is the delay between the two network snapshots in seconds (default: 1sec)"
			value = "$madrisan-network-collisions_delay$"
			skip_key = true
			order = 1
		}
		"-b" = {
			description = "omit the rx/tx bytes counter from perfdata"
			set_if = "$madrisan-network-collisions_no-bytes$"
		}
		"-C" = {
			description = "omit the collisions counter from perfdata"
			set_if = "$madrisan-network-collisions_no-collisions$"
		}
		"-d" = {
			description = "omit the rx/tx drop counter from perfdata"
			set_if = "$madrisan-network-collisions_no-drops$"
		}
		"-e" = {
			description = "omit the rx/tx errors counter from perfdata"
			set_if = "$madrisan-network-collisions_no-errors$"
		}
		"-m" = {
			description = "omit the multicast counter from perfdata"
			set_if = "$madrisan-network-collisions_no-multicast$"
		}
		"-p" = {
			description = "omit the rx/tx packets counter from perfdata"
			set_if = "$madrisan-network-collisions_no-packets$"
		}
		"-r" = {
			description = "consider the received traffic only in the thresholds"
			set_if = "$madrisan-network-collisions_rx-only$"
		}
		"-t" = {
			description = "consider the transmitted traffic only in the thresholds"
			set_if = "$madrisan-network-collisions_tx-only$"
		}
	}
}

object CheckCommand "madrisan-network-dropped" {
	command = [ PluginDir + "/madrisan/check_network_dropped" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-network-dropped_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-network-dropped_critical$"
		}
		"-i" = {
			description = "only display interfaces matching a regular expression"
			value = "$madrisan-network-dropped_ifname$"
		}
		"-k" = {
			description = "report an error if at least a link is down"
			set_if = "$madrisan-network-dropped_ckeck-link$"
		}
		"-l" = {
			description = "skip the loopback interface"
			set_if = "$madrisan-network-dropped_no-loopback$"
		}
		"-W" = {
			description = "skip the wireless interfaces"
			set_if = "$madrisan-network-dropped_no-wireless$"
		}
		"-%" = {
			description = "return percentage metrics if possible"
			set_if = "$madrisan-network-dropped_perc$"
		}
		"delay" = {
			description = "delay is the delay between the two network snapshots in seconds (default: 1sec)"
			value = "$madrisan-network-dropped_delay$"
			skip_key = true
			order = 1
		}
		"-b" = {
			description = "omit the rx/tx bytes counter from perfdata"
			set_if = "$madrisan-network-dropped_no-bytes$"
		}
		"-C" = {
			description = "omit the collisions counter from perfdata"
			set_if = "$madrisan-network-dropped_no-collisions$"
		}
		"-d" = {
			description = "omit the rx/tx drop counter from perfdata"
			set_if = "$madrisan-network-dropped_no-drops$"
		}
		"-e" = {
			description = "omit the rx/tx errors counter from perfdata"
			set_if = "$madrisan-network-dropped_no-errors$"
		}
		"-m" = {
			description = "omit the multicast counter from perfdata"
			set_if = "$madrisan-network-dropped_no-multicast$"
		}
		"-p" = {
			description = "omit the rx/tx packets counter from perfdata"
			set_if = "$madrisan-network-dropped_no-packets$"
		}
		"-r" = {
			description = "consider the received traffic only in the thresholds"
			set_if = "$madrisan-network-dropped_rx-only$"
		}
		"-t" = {
			description = "consider the transmitted traffic only in the thresholds"
			set_if = "$madrisan-network-dropped_tx-only$"
		}
	}
}

object CheckCommand "madrisan-network-errors" {
	command = [ PluginDir + "/madrisan/check_network_errors" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-network-errors_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-network-errors_critical$"
		}
		"-i" = {
			description = "only display interfaces matching a regular expression"
			value = "$madrisan-network-errors_ifname$"
		}
		"-k" = {
			description = "report an error if at least a link is down"
			set_if = "$madrisan-network-errors_ckeck-link$"
		}
		"-l" = {
			description = "skip the loopback interface"
			set_if = "$madrisan-network-errors_no-loopback$"
		}
		"-W" = {
			description = "skip the wireless interfaces"
			set_if = "$madrisan-network-errors_no-wireless$"
		}
		"-%" = {
			description = "return percentage metrics if possible"
			set_if = "$madrisan-network-errors_perc$"
		}
		"delay" = {
			description = "delay is the delay between the two network snapshots in seconds (default: 1sec)"
			value = "$madrisan-network-errors_delay$"
			skip_key = true
			order = 1
		}
		"-b" = {
			description = "omit the rx/tx bytes counter from perfdata"
			set_if = "$madrisan-network-errors_no-bytes$"
		}
		"-C" = {
			description = "omit the collisions counter from perfdata"
			set_if = "$madrisan-network-errors_no-collisions$"
		}
		"-d" = {
			description = "omit the rx/tx drop counter from perfdata"
			set_if = "$madrisan-network-errors_no-drops$"
		}
		"-e" = {
			description = "omit the rx/tx errors counter from perfdata"
			set_if = "$madrisan-network-errors_no-errors$"
		}
		"-m" = {
			description = "omit the multicast counter from perfdata"
			set_if = "$madrisan-network-errors_no-multicast$"
		}
		"-p" = {
			description = "omit the rx/tx packets counter from perfdata"
			set_if = "$madrisan-network-errors_no-packets$"
		}
		"-r" = {
			description = "consider the received traffic only in the thresholds"
			set_if = "$madrisan-network-errors_rx-only$"
		}
		"-t" = {
			description = "consider the transmitted traffic only in the thresholds"
			set_if = "$madrisan-network-errors_tx-only$"
		}
	}
}

object CheckCommand "madrisan-network-multicast" {
	command = [ PluginDir + "/madrisan/check_network_multicast" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-network-multicast_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-network-multicast_critical$"
		}
		"-i" = {
			description = "only display interfaces matching a regular expression"
			value = "$madrisan-network-multicast_ifname$"
		}
		"-k" = {
			description = "report an error if at least a link is down"
			set_if = "$madrisan-network-multicast_ckeck-link$"
		}
		"-l" = {
			description = "skip the loopback interface"
			set_if = "$madrisan-network-multicast_no-loopback$"
		}
		"-W" = {
			description = "skip the wireless interfaces"
			set_if = "$madrisan-network-multicast_no-wireless$"
		}
		"-%" = {
			description = "return percentage metrics if possible"
			set_if = "$madrisan-network-multicast_perc$"
		}
		"delay" = {
			description = "delay is the delay between the two network snapshots in seconds (default: 1sec)"
			value = "$madrisan-network-multicast_delay$"
			skip_key = true
			order = 1
		}
		"-b" = {
			description = "omit the rx/tx bytes counter from perfdata"
			set_if = "$madrisan-network-multicast_no-bytes$"
		}
		"-C" = {
			description = "omit the collisions counter from perfdata"
			set_if = "$madrisan-network-multicast_no-collisions$"
		}
		"-d" = {
			description = "omit the rx/tx drop counter from perfdata"
			set_if = "$madrisan-network-multicast_no-drops$"
		}
		"-e" = {
			description = "omit the rx/tx error counter from perfdata"
			set_if = "$madrisan-network-multicast_no-errors$"
		}
		"-m" = {
			description = "omit the multicast counter from perfdata"
			set_if = "$madrisan-network-multicast_no-multicast$"
		}
		"-p" = {
			description = "omit the rx/tx packets counter from perfdata"
			set_if = "$madrisan-network-multicast_no-packets$"
		}
		"-r" = {
			description = "consider the received traffic only in the thresholds"
			set_if = "$madrisan-network-multicast_rx-only$"
		}
		"-t" = {
			description = "consider the transmitted traffic only in the thresholds"
			set_if = "$madrisan-network-multicast_tx-only$"
		}
	}
}

object CheckCommand "madrisan-paging" {
	command = [ PluginDir + "/madrisan/check_paging" ]

	arguments += {
		"-s" = {
			description = "display also the swap reads and writes"
			set_if = "$madrisan-paging_swapping$"
		}
		"-S" = {
			description = "only display the swap reads and writes"
			set_if = "$madrisan-paging_swapping-only$"
		}
		"-w" = {
			description = "Warning threshold in sum of pswpin/s ane pswpout/s if swapping-only, majfault/s otherwise"
			value = "$madrisan-paging_warning$"
		}
		"-c" = {
			description = "Critical threshold in sum of pswpin/s ane pswpout/s if swapping-only, majfault/s otherwise"
			value = "$madrisan-paging_critical$"
		}
	}
}

object CheckCommand "madrisan-pressure" {
	command = [ PluginDir + "/madrisan/check_pressure" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-pressure_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-pressure_critical$"
		}
		"-C" = {
			description = "return the cpu pressure metrics"
			set_if = "$madrisan-pressure_cpu$"
		}
		"-i" = {
			description = "return the io (block layer/filesystems) pressure metrics"
			set_if = "$madrisan-pressure_io$"
		}
		"-m" = {
			description = "return the memory pressure metrics"
			set_if = "$madrisan-pressure_memory$"
		}
		"-f" = {
			description = "select the data labeled `full` to calculate thresholds instead of the one with `some` (io and memory only)"
			set_if = "$madrisan-pressure_full$"
		}
		"delay" = {
			description = "delay is the delay between two proc reads in seconds (default: 1sec)"
			value = "$madrisan-pressure_delay$"
			skip_key = true
			order = 1
		}
	}
}

object CheckCommand "madrisan-readonlyfs" {
	command = [ PluginDir + "/madrisan/check_readonlyfs" ]

	arguments += {
		"filesystem" = {
			skip_key = true
			description = "Filesystem to check if it is mounted."
			required = true
			value = "$madrisan-readonlyfs_filesystem$"
		}
		"-a" = {
			description = "include dummy file systems"
			set_if = "$madrisan-readonlyfs_all$"
		}
		"-l" = {
			description = "limit listing to local file systems"
			set_if = "$madrisan-readonlyfs_local$"
		}
		"-T" = {
			description = "limit listing to file systems of type TYPE"
			value = "$madrisan-readonlyfs_type$"
		}
		"-X" = {
			description = "limit listing to file systems not of type TYPE"
			value = "$madrisan-readonlyfs_exclude-type$"
		}
	}
}

object CheckCommand "madrisan-swap" {
	command = [ PluginDir + "/madrisan/check_swap" ]

	arguments += {
		"-w" = {
			description = "Warning threshold in percent"
			value = "$madrisan-swap_warning$"
		}
		"-c" = {
			description = "Critical threshold in percent"
			value = "$madrisan-swap_critical$"
		}
		"-b" = {
			description = "show output in bytes"
			set_if = "$madrisan-swap_bytes$"
		}
		"-k" = {
			description = "show output in kilo bytes"
			set_if = "$madrisan-swap_kilobytes$"
		}
		"-m" = {
			description = "show output in mega bytes"
			set_if = "$madrisan-swap_megabytes$"
		}
		"-g" = {
			description = "show output in giga bytes"
			set_if = "$madrisan-swap_gigabytes$"
		}
		"-s" = {
			description = "display the virtual memory perfdata"
			set_if = "$madrisan-swap_vmstats$"
		}
	}
}

object CheckCommand "madrisan-tcpcount" {
	command = [ PluginDir + "/madrisan/check_tcpcount" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-tcpcount_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-tcpcount_critical$"
		}
		"-t" = {
			description = "display the statistics for the TCP protocol (the default)"
			set_if = "$madrisan-tcpcount_tcp$"
		}
		"-6" = {
			description = "display the statistics for the TCPv6 protocol"
			set_if = "$madrisan-tcpcount_tcpv6$"
		}
	}
}

object CheckCommand "madrisan-temperature" {
	command = [ PluginDir + "/madrisan/check_temperature" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-temperature_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-temperature_critical$"
		}
		"-f" = {
			description = "use fahrenheit as the temperature unit"
			set_if = "$madrisan-temperature_fahrenheit$"
		}
		"-k" = {
			description = "use kelvin as the temperature unit"
			set_if = "$madrisan-temperature_kelvin$"
		}
		"-t" = {
			description = "only consider a specific thermal zone"
			value = "$madrisan-temperature_thermal-zone$"
		}
	}
}

object CheckCommand "madrisan-users" {
	command = [ PluginDir + "/madrisan/check_users" ]

	arguments += {
		"-w" = {
			description = "Warning threshold"
			value = "$madrisan-users_warning$"
		}
		"-c" = {
			description = "Critical threshold"
			value = "$madrisan-users_critical$"
		}
	}
}
