Sophie

Sophie

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

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

## Perl Check SMB Disk plugin for Nagios
## Usage: check_disk_smb -H <host> -s <share> -u <user> -p <password> \
##                      -w <warn> -c <crit> [-W <workgroup>] [-P <port>]
##
## -W, --workgroup=STRING ; Workgroup or Domain used (Defaults to "WORKGROUP")
## -u, --user=STRING      ; Username to log in to server. (Defaults to "guest")
## -p, --password=STRING  ; Password to log in to server. (Defaults to an empty password)
## -w, --warning=INTEGER or INTEGER[kMG] ; Percent of used space at which a warning will be generated (Default: 85%)
## -c, --critical=INTEGER or INTEGER[kMG] ; Percent of used space at which a critical will be generated (Defaults: 95%)
## 
## If thresholds are followed by either a k, M, or G then check to see if that
## much disk space is available (kilobytes, Megabytes, Gigabytes)
## 
## Warning percentage should be less than critical
## Warning (remaining) disk space should be greater than critical.

# 'check_disk_smb' command definition -- see 'check_disk_smb -h' for details
define command{
	command_name	check_disk_smb
	command_line	$USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -w $ARG2$ -c $ARG3$
	}