Sophie

Sophie

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

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

## check particular interface by snmp ifIndex key
# 'check_ifoperstatus_ifindex' command definition
define command{
	command_name	check_ifoperstatus_ifindex
	command_line	$USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$
	}

## check particular interface by snmp ifDescr value (verify uniqueness before using)
# 'check_ifoperstatus_ifdescr' command definition
define command{
	command_name	check_ifoperstatus_ifdescr
	command_line	$USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$
	}


# check all admin-up interfaces
# 'check_ifstatus' command definition
define command{
	command_name	check_ifstatus
	command_line	$USER1$/check_ifstatus -H $HOSTADDRESS$ -C public 
	}


## Perl Check IRCD plugin for Nagios
# 'check_ircd' command definition
define command{
	command_name	check_ircd
	command_line	$USER1$/check_ircd -H $HOSTADDRESS$
	}

## Checks the number of messages in the mail queue
## (supports sendmail, qmail, postfix, exim)
##  -w (--warning)   = Min. number of messages in queue to generate warning
##  -c (--critical)  = Min. number of messages in queu to generate critical alert ( w < c )
##  -W (--Warning)   = Min. number of messages for same domain in queue to generate warning
##  -C (--Critical)  = Min. number of messages for same domain in queue to generate critical alert ( W < C )
##  -M (--mailserver) = [ sendmail | qmail | postfix | exim ] (default = sendmail)
# 'check_mailq' command definition
define command{
	command_name	check_mailq
	command_line	$USER1$/check_mailq -M $ARG1 -w $ARG2$ -c $ARG3$
	}


## Check RPC services
# 'check-rpc' command definition
define command{
	command_name	check-rpc
	command_line	$USER1$/check_rpc -H $HOSTADDRESS$ -C $ARG1$
	}

## Check if the NFS server is running (version 2 and version 3)
# 'check-nfs' command definition
define command{
	command_name	check-nfs
	command_line	$USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
	}