[smokeping-users] Modifying DNS probe to add extra options

Shawn Rose shawnjrose at gmail.com
Mon Jun 16 02:30:12 CEST 2008


Hello,

Just wondering. I want to modifiy the DNS.pm so that you can add extra
arguments.

Line 116:/opt/smokeping/lib/Smokeping/probes/DNS.pm

my $query = "$self->{properties}{binary} \@$dnsserver $lookuphost"

I noticed a number of your Probes offer extraopts variable. All I want
to do is add arguments to the dig command at the end of the query. Is
there an easy way to do this? I do not want to use echoping as it's an
additional package I do need.

Any help would be greatly appreciated.

-- 
Check out

http://www.bulldoze.ca

Cheers
Shawn Rose



More information about the smokeping-users mailing list