Hi,

I just tried to setup the DNS.pm probe from within smokeping 1.20 but had 
several problems: 
as far as I can tell, seems like somthing gets parsed wrong (string msec 
instead of value):

--- cut ---
> /usr/local/smokeping/bin/smokeping --debug
### assuming you are using an IOS reporting in miliseconds
### dig seems to report in  miliseconds
### fping seems to report in 1 miliseconds
Launched successfully
IOSPing: probing 0 targets
EchoPingHttps: probing 0 targets
EchoPingHttp: probing 0 targets
FPing: probing 0 targets
EchoPing: probing 0 targets
EchoPingSmtp: probing 0 targets
DNS: probing 6 targets
Argument "msec" isn't numeric in sort at /usr/local/smokeping/lib/probes/DNS.pm 
line 100.
Argument "msec" isn't numeric in sort at /usr/local/smokeping/lib/probes/DNS.pm 
line 100.
...(20 times which is my "pings" value)...
--- cut ---

my dig output looks like this:

--- cut ---
[EMAIL PROTECTED]: /tmp > dig host.fqdn.com @host.fqdn.com
; <<>> DiG 9.2.1 <<>> host.fqdn.com @host.fqdn.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4524
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;host.fqdn.com.             IN      A

;; ANSWER SECTION:
host.fqdn.com.      14400   IN      A       213.68.xxx.xxx

;; AUTHORITY SECTION:
fqdn.com.            14400   IN      NS      auth52.ns.de.uu.net.
fqdn.com.            14400   IN      NS      auth02.ns.de.uu.net.

;; Query time: 2 msec
;; SERVER: x.y.z.x#53(host.fqdn.com)
;; WHEN: Mon Apr 28 19:35:26 2003
;; MSG SIZE  rcvd: 105
--- cut ---

I've changed line 90 in DNS.pm from
        push @times, (split /\s+/)[4];
to      push @times, (split /\s+/)[3];

which seems to solve this at least this error but I still cannot get anything 
reasonable from it; it seems to report values which are about 20-30 msec's too 
high. I also played around some more but I'm no perl guru; could it eventually 
be the DNS.pm isn't quite elaborated yet ? has anybody running this and 
verified the results ?


Michael

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to