Bug 22598 - Ошибка "Must set a threshold value before using -p" при вызове "check_local_disk"
Summary: Ошибка "Must set a threshold value before using -p" при вызове "check_local_d...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: nagios-plugins-local (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 11:00 MSK by Lenar Shakirov
Modified: 2012-06-04 04:18 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)