<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Verdana","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-GB" link="blue" vlink="purple">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Try 'U' for 'Unknown'.&nbsp; However MRTG is quite clever, and anything that doesnt look like a number will be treated as an 'unknown'.<br>
<br>
Steve<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><strong>Steve Shipway</strong></div>
<div style="font-family:Tahoma; font-size:13px">University of Auckland ITS</div>
<div style="font-family:Tahoma; font-size:13px"><em>UNIX Systems Design Lead</em></div>
<div style="font-family:Tahoma; font-size:13px"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family:Tahoma; font-size:13px">Ph: &#43;64 9 373 7599 ext 86487</div>
<div style="font-family:Tahoma; font-size:13px"><em></em>&nbsp;</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF49588"><font color="#000000" face="Tahoma" size="2"><b>From:</b> mrtg-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch [mrtg-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Engrie, Marc [marc.engrie@sanomamedia.be]<br>
<b>Sent:</b> Tuesday, 10 April 2012 1:57 a.m.<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> [mrtg] what to pass when not data?<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Hello,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">What values can be passed to MRTG when ther was no data available?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Eg:
</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Target[test]: `test.pl host`</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">In normal circumstances test.pl would pass 2 values&nbsp;&nbsp; separated by \n.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">But wat should the script pass along if it could not get data (from the host)?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">NA</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">NA</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Or</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">UNK</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">UNK</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Or … ?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:teal">Marc Engrie</span></b><span style="">
<br>
</span><span style="font-size:10.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">ICT Infrastructure Manager</span><span style="">
<br>
</span><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Tel: &#43;32 2 776</span><b><u><span style="">
</span></u></b><b><u><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">21 63</span></u></b><span style="">
<br>
</span><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">GSM: &#43;32 476 52 35 45</span><span style="">
</span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>
</div>
</div>
</body>
</html>