<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#ffffff">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style=""><sorry for the top post... owa arrrg ><br>
<br>
Thanks again, Jeff. <br>
<br>
I am doing 5 pings every 10 seconds with a 1 second timeout. <br>
<br>
I put in this into Presentation:<br>
<br>
++loss_colors<br>
0 339900 '0'<br>
1 33ccff '1/5'<br>
2 0033ff '2/5'<br>
3 ccff00 '3/5'<br>
4 ff6600 '4/5'<br>
5 ff0000 '5/5'<br>
<br>
But, my loss stats still only showed 0, 1/5, 2/5, 3/5, and 4/5. It ignored the 5/5, like there is a bound on the packet loss calculation and presentation.<br>
<br>
<br>
david<br>
<br>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF869795"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Jeff Williams [jeffwilliams05@gmail.com]<br>
<b>Sent:</b> Wednesday, October 06, 2010 6:47 PM<br>
<b>To:</b> David Botham<br>
<b>Cc:</b> smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> Re: [smokeping-users] Fill Background While Host Is Down<br>
</font><br>
</div>
<div></div>
<div><br>
<blockquote type="cite">
<div class="WordSection1">
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; padding: 0in 0in 0in 4pt;">
<p class="MsoNormal"><br>
</p>
<p class="MsoPlainText"><sorry for the html email, but, I needed inline graphic></p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">All,</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">Does anyone know of a way to fill the background of the graph when a host is down (fping)? I have set:</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">loss_background = yes</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">But, my graph looks like this (the left leading white space is before I started collecting):</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"><img id="_x0000_i1025" src="cid:part1.06000608.09010403@gmail.com" height="83" width="385"></p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">And what I want is this:</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"><img id="Picture_x0020_1" src="cid:part2.00020208.07070705@gmail.com" height="94" width="387"></p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">So that the downtime really stands out...</p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style=""><br>
<tt>David,</tt><br>
<br>
<tt>Try using the "nodata_color" parameter with the code for the color you want. I think I needed to add that to get the behavior you are looking for. For example, I use this:</tt><br>
<br>
<tt>nodata_color = f88017</tt><br>
<tt>loss_background = yes</tt></span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: rgb(31, 73, 125);">dbotham replied with:</span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: rgb(31, 73, 125);">Jeff, thanks. forgot to mention that I tried that too. It fills the parts when smokeping is not running, but, does not fill in the parts when it is and the host is down
(i.e. 100% Packet Loss). So, that look like this:</span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: rgb(31, 73, 125);"><img id="Picture_x0020_4" src="cid:part3.01030404.04050607@gmail.com" height="156" width="389"></span><span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: rgb(31, 73, 125);"> </span></p>
</div>
</div>
</blockquote>
<br>
<tt>Sorry I misunderstood what you were looking for. In our environment, we just wanted a way to differentiate between 100% loss and smokeping being down, so we don't mind the white background for 100% loss. You may have already tried this, but I wonder if
you could achieve what you are looking for by specifying a loss color for 100%. Do you use the "loss_colors" options? We do 5 pings per interval, so in our case it would be something like this:<br>
<br>
++ loss_colors<br>
<br>
... (other loss colors here)<br>
<br>
5 ff0000 "5/5"<br>
<br>
That should tell it to use red as the background for 100% loss, but I haven't verified. Anyone else tried this?<br>
</tt></div>
</div>
</div>
</body>
</html>