<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C28AFC.B6A65160">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-ansi-language:IS;
mso-no-proof:yes;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>Hi all!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>I'm having some difficulties getting Apan working with
other plugins than ping, e.g. I want to get graphs for processor usage (check_nt_load)
and disk usage (check_nt_disk) on NT servers which are running the Netsaint
plugin.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>I“m just getting an empty graph for the Disk Usage and this
is what I get in /tmp/apan.debug:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>>Miš Nóv 13 09:54:08 GMT 2002 Args: nt-disk smyrill adisk
1037181248 80 90<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>>Inserting '' , '1037181248' into
/usr/local/nagios/rrd/adisk.rrd<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>>Returning '' , 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><span style='mso-spacerun:yes'> </span>This is the config
line in /usr/local/nagios/apan/apan.cfg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>>smyrill;adisk;/usr/local/nagios/rrd/adisk.rrd;c|e;c-used:AREA
c-free:STACK e-used:AREA e-free:STACK;Disk usage;Bytes;-l 1 b 1024<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>This is the service definition:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>># Service definition<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>>define service{<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>use<span
style='mso-tab-count:3'> </span>generic-service<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>host_name<span
style='mso-tab-count:2'> </span>smyrill<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>service_description<span
style='mso-tab-count:1'> </span>adisk<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>is_volatile<span
style='mso-tab-count:2'> </span>0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>check_period<span
style='mso-tab-count:2'> </span>24x7<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>max_check_attempts<span
style='mso-tab-count:1'> </span>3<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>normal_check_interval<span
style='mso-tab-count:1'> </span>1<span style='mso-tab-count:1'> </span><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>retry_check_interval<span
style='mso-tab-count:1'> </span>1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>contact_groups<span
style='mso-tab-count:2'> </span>kerfisleiga<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>notification_interval<span
style='mso-tab-count:1'> </span>120<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>notification_period<span
style='mso-tab-count:1'> </span>24x7<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>notification_options<span
style='mso-tab-count:1'> </span>c,r<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><span style='mso-tab-count:1'> </span>check_command<span
style='mso-tab-count:1'> </span>apan!nt-disk!80!90<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>Nagios is version 1.0b6 running on RedHat 7.3 <span
style='mso-spacerun:yes'> </span>- kernel 2.4.18-3smp<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>Any help/ideas greatly appreciated.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'>Hįkon Siguršsson<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IS style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>