<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
{font-family:"Tahoma","sans-serif"}
p.msonormal0, li.msonormal0, div.msonormal0
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
span.EmailStyle20
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle21
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle22
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div>
<div style="font-family:Calibri,sans-serif; font-size:11pt">Host file is always checked first before DNS or cache.<br>
<br>
</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">From:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:JoshuaC@ace.com.au">Joshua Cameron</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Sent:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">ý4/ý10/ý2016 6:34 PM</span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">To:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Subject:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">Re: [smokeping-users] DHCP handling</span><br>
<br>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Douglas,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Script to work with the host file sounds great.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Did a few tests with that idea and it looks like it’ll work.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Much appreciated.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">When the host is passed into FPing, will it check the hostfile everytime it’s run or will it cache the DNS requests?</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Would I have to flush DNS cache whenever I change host file if something changes IP?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Whenever something changes IP address, I’ll have to have the script re-write the config file for Smokeping then restart the service.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Is that going to cause any issues on Smokeping side?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’m just going to do this with my host file:</span></p>
<p class="MsoNormal"><span style="color:#1F497D">IPADDRESS MAC.tld.com.au</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Then put the MAC.tld.com.au as the host in the Smokeping config file.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Joshua Cameron</span></b><i><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D"></span></i></p>
<p class="MsoNormal"><i><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Systems Administrator</span></i><span style="color:#1F497D"></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Douglas Spindler [mailto:doug.spindler@gmail.com]
<br>
<b>Sent:</b> Monday, April 11, 2016 9:02 AM<br>
<b>To:</b> Joshua Cameron; smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> RE: [smokeping-users] DHCP handling</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">BOOTP? Or use a script to populate the host file.</p>
<p class="MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> smokeping-users [<a href="mailto:smokeping-users-bounces+doug.spindler=gmail.com@lists.oetiker.ch">mailto:smokeping-users-bounces+doug.spindler=gmail.com@lists.oetiker.ch</a>]
<b>On Behalf Of </b>Joshua Cameron<br>
<b>Sent:</b> Sunday, April 10, 2016 3:56 PM<br>
<b>To:</b> <a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<b>Subject:</b> [smokeping-users] DHCP handling</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hey,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I use Smokeping for about 40 devices at the moment, but we’ve got around 200 more on the network I’d like to add to it.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">However some of the devices I want to monitor on our network can have dynamic IP addresses(DHCP), beside setting everything to static IPs which is never gonna happen, is there a way to keep the ping history data in Smokeping associated
to a device across IP address changes?</p>
<p class="MsoNormal">Some sort of MAC address lookup or similar?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif"">Joshua Cameron</span></b><i><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif""></span></i></p>
<p class="MsoNormal"><i><span lang="EN-AU" style="font-size:10.0pt; font-family:"Arial","sans-serif"">Systems Administrator</span></i><i><span lang="EN-AU" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""></span></i></p>
</div>
</div>
</body>
</html>