Error with Apan / Nagios ...

Paraman Pachaimuthu ParamanP at microland.net
Mon Nov 24 13:31:35 CET 2003




Hi,

I want to monitor disk usage of a windows 2000 box with nagios and apan.
The Win2K box has NSClient running successfully. I am able to get details
about services, disk, page file and everything. 

I am facing problem, only when I use apan with the disk-usage for plotting
graph. It works fine when I am not using apan and using 'check_nt_disk'. it
gives me status. But I want to plot graph by using apan. If I use apan, I am
getting the following error message :- 

"  Disk utilization: connection refused by host "

Please help me on fixing this problem. 

The following is the setting of config file. The permission of rrd file is
also right. 

services.cfg


# Service definition
define service{
	use				generic-service		; Name of
service template to use

	host_name			test
	service_description		Disk-usage
	is_volatile			0
	check_period			24x7
	max_check_attempts		10
	normal_check_interval		1
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command		apan!nt-disk!150!100
	}





serviceextinfo.cfg :


define serviceextinfo {
host_name             test
service_description     Disk-usage
notes_url
/nagios/cgi-bin/apan.cgi?host=test&service=Disk-usage
icon_image              graph.png
icon_image_alt          View graphs
}




/usr/local/apan/apan.cfg  : 

test;Disk-usage;/usr/local/nagios/rrd/test_Disk-usage.rrd;c|d;c-used:AREA
c-free:STACK d-used:AREA d-free:STACK;Disk usage;Bytes;-l 1 -b 1024;


Warm regards,

Paraman Pachaimuthu
Consultant - Technology & Practices 
Microland Limited
www.microland.net


Email:   paramanp at microland.net
Tel:       91-80-5503313  extn. 151
Fax:      91-80-5503319
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031124/fcf441e9/attachment.html>


More information about the Users mailing list