[smokeping-users] DNS.pm for OpenBSD 3.1

Dan McGinn-Combs Dan.McGinn-Combs at Geac.com
Tue Mar 4 19:48:54 MET 2003


I'm not sure these changes are required for anyone else, but I noticed
that they are necessary under OpenBSD 3.1 to use the DNS probe written
by Andre Stolze -- THANKS, Andre!
 
in DNS.pm
OLD:
push @host, "$self->{properties}{binary} \@$addrs[0][0] $addrs[0][0]
|grep \
"Query time\"| gawk '{print \$4}'";
 
NEW:
push @host, "$self->{properties}{binary} \@$addrs[0][0] $addrs[0][0]
|grep \
"query time\"| awk '{print \$5}'";
 
Apparently, "gawk" isn't natively available on OpenBSD. I'm not sure to
what to attribute the count difference.
 
Dan
...---... ...---...
Dan McGinn-Combs
dan.mcginn-combs at geac.com
Atlanta, Georgia
 

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list