[smokeping-users] DHCP handling

Joseph Jackson jjackson at aninetworks.net
Mon Apr 11 01:37:08 CEST 2016

Host file is always checked first before DNS or cache.

From: Joshua Cameron<mailto:JoshuaC at ace.com.au>
Sent: ‎4/‎10/‎2016 6:34 PM
To: smokeping-users at lists.oetiker.ch<mailto:smokeping-users at lists.oetiker.ch>
Subject: Re: [smokeping-users] DHCP handling


Script to work with the host file sounds great.
Did a few tests with that idea and it looks like it’ll work.
Much appreciated.

When the host is passed into FPing, will it check the hostfile everytime it’s run or will it cache the DNS requests?
Would I have to flush DNS cache whenever I change host file if something changes IP?

Whenever something changes IP address, I’ll have to have the script re-write the config file for Smokeping then restart the service.
Is that going to cause any issues on Smokeping side?

I’m just going to do this with my host file:
IPADDRESS MAC.tld.com.au
Then put the MAC.tld.com.au as the host in the Smokeping config file.

Joshua Cameron
Systems Administrator

From: Douglas Spindler [mailto:doug.spindler at gmail.com]
Sent: Monday, April 11, 2016 9:02 AM
To: Joshua Cameron; smokeping-users at lists.oetiker.ch
Subject: RE: [smokeping-users] DHCP handling

BOOTP?  Or use a script to populate the  host file.

From: smokeping-users [mailto:smokeping-users-bounces+doug.spindler=gmail.com at lists.oetiker.ch] On Behalf Of Joshua Cameron
Sent: Sunday, April 10, 2016 3:56 PM
To: smokeping-users at lists.oetiker.ch<mailto:smokeping-users at lists.oetiker.ch>
Subject: [smokeping-users] DHCP handling


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.

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?
Some sort of MAC address lookup or similar?

Joshua Cameron
Systems Administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20160410/eff765f5/attachment.html>

More information about the smokeping-users mailing list