unable to read output fom check_disk

Lammersdorf, Lorenz Lorenz.Lammersdorf at Dresdner-Bank.com
Fri Feb 4 14:33:55 CET 2005


hi all,

the following enviroment is used:

nagiosserver and remote host are debian 3 machines. on the remote host
check_disk gives these answers:

:/usr/local/nagios/libexec# ./check_disk -V
check_disk (nagios-plugins 1.4.0alpha1) 1.38

/usr/local/nagios/libexec# ./check_disk -w 20% -c 10% -p /dev/md0
DISK OK - free space: /raid 281102 MB (60%);|
/raid=281101MB;375567;422513;0;469459

in the webinterface all i get is "unable to read output".

services.cfg looks like this:

define service{
	use				generic-service		; Name of
service template to use

	host_name			xxx
	service_description		RAID
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_local_disk!20%!10%!/dev/md0
	}

checkcommands.cfg:

# 'check_local_disk' command definition
define command{
	command_name	check_local_disk
	command_line	$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
	}

any ideas?

regards

Lorenz Lammersdorf


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list