<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=761563614-04112003><FONT face=Arial size=2>I'm no expert on
APAN, but try changing <FONT face="Trebuchet MS">disk_usage to disk-usage in
your apan.cfg.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=761563614-04112003><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761563614-04112003><FONT face="Trebuchet MS" size=2>Hope that
helps,</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>David Price</FONT> <BR><I><FONT face=Arial size=1>IS
Support Technician</FONT></I> <BR><FONT face=Arial
color=#ff0000>CELLULAR<B>ONE</B></FONT><B><FONT face="Britannic Bold"
color=#ff0000 size=4></FONT></B><I></I><I></I><I> <FONT face=Arial color=#000000
size=1>of San Luis Obispo</FONT></I> <BR><FONT face=Arial color=#000000
size=2>805-543-0100</FONT> </P>
<P><FONT face=Arial color=#000000 size=2>CellularOne reminds you that "Safety is
Your Most Important Call."</FONT> </P>
<P><FONT face=Arial color=#000000
size=2>_____________________________________________________________________________</FONT>
<BR><FONT face=Arial size=1>CONFIDENTIALITY NOTE: The information in this e-mail
is intended to be confidential and only for the use of the individual or entity
to whom it is addressed. If you are not the intended recipient, any retention,
dissemination, distribution or copying of this message is strictly prohibited
and sanctioned by law. If you receive this e-mail by error, please immediately
send it back and delete all copies of the message. </FONT></P>
<P><SPAN lang=fr><FONT face=Arial size=1>NOTA CONFIDENCIAL: La información
contenida en este e-mail es confidencial y sólo puede ser utilizada por el
individuo o la compañía a la cual está dirigido. Si usted no es el receptor
autorizado, cualquier retención, difusión, distribución o copia de este mensaje
es prohibida y sancionada por la ley.</FONT></SPAN><SPAN lang=en-us> <FONT
face=Arial size=1>Si por error recibe este mensaje, favor devolver y borrar toda
copias del mensaje inmediatamente.</FONT></SPAN></P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Paraman
Pachaimuthu [mailto:ParamanP@microland.net] <BR><B>Sent:</B> Monday, November
03, 2003 10:16 PM<BR><B>To:</B>
'nagios-users@lists.sourceforge.net'<BR><B>Subject:</B> [Nagios-users] How to
monitor disk usage with Apan ...<BR><BR></FONT></DIV>
<P><FONT face="Trebuchet MS" size=2>Hi Nagi Gurus,</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>I have a challenge here. </FONT></P>
<P><FONT face="Trebuchet MS" size=2>I am monitoring a Windows 2000 server from
my Nagios server. The Win2K machine has NSClient service running. Monitoring
is happening perfectly for ping, disk usage, exchange counters, etc. When I
use Apan for generating graph, I am facing challenge. This problem comes in
disk usage. It works good with Ping. Monitoring is happening and graph is also
coming for Ping.</FONT></P>
<P><FONT face="Trebuchet MS" size=2>I am unable to get results as well as
graphs for disk usage. </FONT></P>
<P><FONT face="Trebuchet MS" size=2>I am getting the following output in the
monitoring screen.</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>disk -usage </FONT><BR><FONT
face="Trebuchet MS" size=2>status :
unknown </FONT><BR><FONT
face="Trebuchet MS" size=2>status information : No perf-definition for the
service</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>Error displays in the console :</FONT>
<BR><FONT face="Trebuchet MS" size=2>/usr/local/nagios/apan/apan.sh: line 15:
[: too many arguments </FONT></P>
<P><FONT face="Trebuchet MS" size=2>/tmp/apan.debug has the following error
:</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>Args: nt-disk PARAMANP disk-usage
1067925657 150 100 Could not insert '' , " into </FONT></P>
<P><B><FONT face="Trebuchet MS" size=2>The following is the setting of
services.cfg :</FONT></B> </P><BR>
<P><FONT face="Trebuchet MS" size=2># Service definition</FONT> <BR><FONT
face="Trebuchet MS" size=2>define service{</FONT>
<BR> <FONT face="Trebuchet MS"
size=2>use
generic-service
; Name of service template to
use</FONT> </P>
<P> <FONT face="Trebuchet MS"
size=2>host_name
PARAMANP</FONT>
<BR> <FONT face="Trebuchet MS"
size=2>service_description
disk-usage</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> is_volatile
0</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> check_period
24x7</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> max_check_attempts
10</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> normal_check_interval
1</FONT> <BR> <FONT
face="Trebuchet MS" size=2> retry_check_interval
1</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> contact_groups
nt-admins</FONT>
<BR>
<BR> <FONT face="Trebuchet MS"
size=2> notification_interval
120</FONT> <BR> <FONT
face="Trebuchet MS" size=2> notification_period
24x7</FONT>
<BR> <FONT face="Trebuchet MS"
size=2> notification_options
w,u,c,r</FONT>
<BR> <FONT face="Trebuchet MS"
size=2>check_command
apan!nt-disk!150!100</FONT> <BR>
<FONT face="Trebuchet MS" size=2>}</FONT> </P>
<P><B><FONT face="Trebuchet MS" size=2>The following is the setting of
serviceextinfo.cfg:</FONT></B> </P>
<P><FONT face="Trebuchet MS" size=2>define
serviceextinfo{</FONT> <BR><FONT
face="Trebuchet MS" size=2>host_name
PARAMANP</FONT> <BR><FONT face="Trebuchet MS"
size=2>service_description disk-usage</FONT> <BR><FONT
face="Trebuchet MS" size=2>notes_url
/nagios/cgi-bin/apan.cgi?host=PARAMANP&service=disk-usage</FONT> <BR><FONT
face="Trebuchet MS" size=2>icon_image
graph.png</FONT> <BR><FONT face="Trebuchet MS" size=2>icon_image_alt
View graphs</FONT> <BR><FONT face="Trebuchet MS" size=2>}</FONT> </P>
<P><B><FONT face="Trebuchet MS" size=2>The following is the setting of
apan.cfg:</FONT></B> </P>
<P><FONT face="Trebuchet MS"
size=2>PARAMANP;disk_usage;/usr/local/nagios/rrd/PARAMANP_disk_usage.rrd;c|d;c-used:AREA
c-free:STACK c-used:AREA c-free:STACK;Disk usage;Bytes;-l 1 -b
1024;</FONT></P>
<P><FONT face="Trebuchet MS" size=2>..</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>I am unable to monitor the disk usage when
implementing Apan. If there is no Apan, the check_nt works fine for disk
usage. I want to monitor disk usage as well as graph. How to proceed on this
? Please help me.</FONT></P>
<P><FONT face="Trebuchet MS" size=2>Any help will be appreciated.
Thanks</FONT> </P><BR><BR>
<P><FONT face="Trebuchet MS" size=2>Warm regards,</FONT> </P>
<P><FONT face="Arial Narrow" color=#000000>Paraman Pachaimuthu</FONT>
<BR><B><FONT face="Arial Narrow" color=#999999>Consultant - Technology &
Practices</FONT></B> <BR><B><FONT face="Arial Narrow"
color=#ff0000>Microland</FONT><FONT face="Arial Narrow"> </FONT><FONT
face="Arial Narrow" color=#ff0000>Limited</FONT></B> <BR><U><FONT
face="Arial Narrow" color=#0000ff>www.microland.net</FONT></U> </P><BR>
<P><FONT face="Arial Narrow" size=2>Email:</FONT><FONT face="Arial Narrow"
color=#808080 size=2></FONT> <FONT face="Arial Narrow" size=2> </FONT><U>
<FONT face="Arial Narrow" color=#0000ff
size=2>paramanp@microland.net</FONT></U> <BR><FONT face="Arial Narrow"
size=2>Tel: 91-80-5503313 extn.
151</FONT> <BR><FONT face="Arial Narrow"
size=2>Fax: 91-80-5503319</FONT> <BR><FONT
face="Trebuchet MS" color=#ff0000 size=1> </FONT> </P>
<P><FONT face="Arial Narrow" color=#808080 size=2>The information transmitted
is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review, re-transmission,
dissemination or other use of or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from your computer. Microland takes adequate steps to
ensure that its electronic communications are free from viruses. However,
given the nature of the Internet, the Company cannot accept liability for any
virus introduced by this e-mail or any
attachment.</FONT></P><BR><BR></BLOCKQUOTE></BODY></HTML>