<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>APAN Error</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I am getting the following error from APAN "Disk utilization: Invalid host name 'emfs3'", in the debug file I find the following Thu Jan 15 13:43:05 EST 2004 Args: nt-disk emfs3 Disk-usage 1074192185 85 90 Could not insert '' , '1074192185' into /usr/local/nagios/rrd/emfs3-Disk-usage.rrd</FONT></P>
<P><FONT SIZE=2>I have gone over and over this and I can't figure out where the problem is. Below are my cfg files. Any help would be greatly appreciated.</FONT></P>
<P><FONT SIZE=2># Service definition</FONT>
<BR><FONT SIZE=2>define service{</FONT>
<BR><FONT SIZE=2> use generic-service ; Name of service template to use</FONT>
<BR><FONT SIZE=2> host_name emfs3</FONT>
<BR><FONT SIZE=2> service_description Disk-usage</FONT>
<BR><FONT SIZE=2> is_volatile 0</FONT>
<BR><FONT SIZE=2> check_period 24x7</FONT>
<BR><FONT SIZE=2> max_check_attempts 3</FONT>
<BR><FONT SIZE=2> normal_check_interval 3</FONT>
<BR><FONT SIZE=2> retry_check_interval 1</FONT>
<BR><FONT SIZE=2> contact_groups nt-admins</FONT>
<BR><FONT SIZE=2> notification_interval 120</FONT>
<BR><FONT SIZE=2> check_command apan!nt-disk!85!90</FONT>
<BR><FONT SIZE=2> }</FONT>
</P>
<P><FONT SIZE=2># 'check_apan' command definition</FONT>
<BR><FONT SIZE=2>define command {</FONT>
<BR><FONT SIZE=2> command_name apan</FONT>
<BR><FONT SIZE=2> command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$</FONT></P>
<P><FONT SIZE=2> }</FONT>
</P>
<P><FONT SIZE=2># 'emfs3' host definition</FONT>
<BR><FONT SIZE=2>define host{</FONT>
<BR><FONT SIZE=2> use generic-host ; Name of host template to use</FONT>
</P>
<P><FONT SIZE=2> host_name emfs3</FONT>
<BR><FONT SIZE=2> alias Wink-2k-File-Server</FONT>
<BR><FONT SIZE=2> address 10.1.1.87</FONT>
<BR><FONT SIZE=2> parents emswitch2</FONT>
<BR><FONT SIZE=2> check_command check-host-alive</FONT>
<BR><FONT SIZE=2> max_check_attempts 10</FONT>
<BR><FONT SIZE=2> notification_interval 30</FONT>
<BR><FONT SIZE=2> notification_period 24x7</FONT>
<BR><FONT SIZE=2> notification_options d,u,r</FONT>
<BR><FONT SIZE=2> }</FONT>
</P>
<P><FONT SIZE=2>define serviceextinfo{</FONT>
<BR><FONT SIZE=2> host_name emfs3</FONT>
<BR><FONT SIZE=2> service_description Disk-usage</FONT>
<BR><FONT SIZE=2> notes_url /nagios/cgi-bin/apan.cgi?host=emfs3&service=Disk-usage</FONT>
<BR><FONT SIZE=2> icon_image graph.png</FONT>
<BR><FONT SIZE=2> icon_image_alt View graphs</FONT>
<BR><FONT SIZE=2> }</FONT>
</P>
<P><FONT SIZE=2>Apan.cfg</FONT>
<BR><FONT SIZE=2>emfs3;Disk-usage;/usr/local/nagios/rrd/emfs3-Disk-usage.rrd;d|e;d-used:AREA d-free:STACK e-used:AREA e-free:STACK;Disk usage;Bytes</FONT></P>
<P><FONT SIZE=2>;-l 1 -b 1024</FONT>
</P>
<P><FONT SIZE=2>RRD file created with (the file is there with correct r/w perms - rrdtool create /usr/local/nagios/rrd/emfs3-Disk-usage.rrd -s 60 DS:d-used:GAUGE:300:0:U DS:d-free:GAUGE:300:0:U DS:e-used:GAUGE:300:0:U DS:e-free:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800</FONT></P>
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Karl</FONT>
<BR><FONT SIZE=2>***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. *****</FONT></P>
</BODY>
</HTML>