Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 50b266a1f59425b9dcf1efefc947f7af > files > 17

nagios-plugins-1.4.12-alt1.M41.1.src.rpm

# 'check_ping' command definition
define command{
	command_name	check_ping
	command_line	$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
	}
# 'check_ping_fixed' command definition
define command{
	command_name	check_ping_fixed
	command_line	$USER1$/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100%
	}

## This command checks to see if a host is "alive" by pinging it.  The
## check must result in a 100% packet loss or 5 second (5000ms) round
## trip average to produce an error.
# This command checks to see if a host is "alive" by pinging it.
define command{
	command_name	check-host-alive
	command_line	$USER1$/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 2
	}

## This command checks to see if a printer is "alive" by pinging it.
define command{
	command_name	check-printer-alive
	command_line	$USER1$/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 2
	}

## This command checks to see if a switch is "alive" by pinging it.
define command{
	command_name	check-switch-alive
	command_line	$USER1$/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 2
	}

## This command checks to see if a router is "alive" by pinging it.
define command{
	command_name	check-router-alive
	command_line	$USER1$/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 2
	}



# 'check_local_load' command definition
define command{
	command_name	check_local_load
	command_line	$USER1$/check_load -w $ARG1$ -c $ARG2$
	}



# 'check_local_procs' command definition
define command{
	command_name	check_local_procs
	command_line	$USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
	}
# 'check_procs' command definition
define command{
	command_name	check_procs
	command_line	$USER1$/check_procs -w $ARG1$ -c $ARG2$
	}
# 'check_procs_zombie' command definition
define command{
	command_name	check_procs_zombie
	command_line	$USER1$/check_procs -w $ARG1$ -c $ARG2$ -s Z
	}
# 'check_procs_httpd' command definition
define command{
	command_name	check_procs_httpd
	command_line	$USER1$/check_procs -w $ARG1$ -c $ARG2$ -C httpd
	}
# 'check_procs_httpd_vsz' command definition
define command{
	command_name	check_procs_httpd_vsz
	command_line	$USER1$/check_procs -w 8096 -c 16182 -C httpd --metric VSZ
	}