Bug 22598

Summary: Ошибка "Must set a threshold value before using -p" при вызове "check_local_disk"
Product: Sisyphus Reporter: Lenar Shakirov <shakirov>
Component: nagios-plugins-localAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: sibgatullinb
Version: unstable   
Hardware: all   
OS: Linux   

Description Lenar Shakirov 2009-12-22 11:00:13 MSK
В конфиге nagios-plugins-local.cfg:
define command{
	command_name	check_local_disk
	command_line	$USER1$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
	}
# 'check_disk' command definition
define command{
	command_name	check_disk
	command_line	$USER1$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$
	}
Получаем ошибку:
DISK UNKNOWN: Must set a threshold value before using -p
Если поменять например на:
$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ - "-p" идет после "-w" и "-c", то все норм
Comment 1 Repository Robot 2012-06-04 04:18:31 MSK
nagios-plugins-1.4.15-alt1 -> sisyphus:

* Mon Jun 04 2012 Vitaly Lipatov <lav@altlinux> 1.4.15-alt1
- new version 1.4.15 (with rpmrb script)
- cleanup spec, fix requires (ALT bug #26314)
- add some Fedora patches
- fix check_disk arg order (ALT bug #22598)