Re: [tkined] Questions about SNMP-monitor?

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Wed Sep 27 2000 - 14:43:58 MET DST


>>>>> ZhangJiYu writes:

ZhangJiYu> I use the tkined1.5.0 on FreeBSD 3.5-stable box. When I
ZhangJiYu> start to monitor a mib variable, the values in the
ZhangJiYu> "stripchart" are "variables" and "Time base", I choose a
ZhangJiYu> mib variable, click start button, but the tkined give me a
ZhangJiYu> acknowledge: Time base problem on 192.168.0.1: noResponse 0
ZhangJiYu> {}, why? I use The default "Time base" value
ZhangJiYu> "SNMPv2-MIB!sysUpTime.0" How to give the tkined a correct
ZhangJiYu> value of "Time base".

A quick look at the snmp_monitor.tcl script show the following:

        set err [catch {$s get $uptime} vbl]
        if {$err || [snmp type $vbl 0] == "noSuchInstance"} {
            ined acknowledge "Time base problem on $ip: $vbl"
            $s destroy
            return ""
        }

So the script first checks whether the time base variable
(SNMPv2-MIB!sysUpTime.0 in your case) is readable. The noResonse error
message means that the agent did not respond to the get request for
SNMPv2-MIB!sysUpTime.0. Check your configuration and make sure the
agent is able to respond to requests for SNMPv2-MIB!sysUpTime.0.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:53 MET