I'm playing with the sample code scotty/tnm/agents/snmpd
and snmpd-proc.tcl that come with the scotty package.
I have trouble to get snmpd-proc.tcl working with snmpd. For
some reason, the process IDs on the agent machine (Solaris) are
not loaded. The following is the session log.
As you see, the `getnext procID' didn't return a procID instance,
but returned a mlmLock.0 variable, which is in the next branch
of the MIB tree. So the entire branch of procTable is missing.
But the agent still shows the result of `mib oid procID'.
So why doesn't agent respond with the correct procID?
---------------------- session log ---------------------------
Agent:
% source ./snmpd
SNMP agent started using the following parameters:
-address = 142.103.7.7
-port = 1701
-version = SNMPv2c
-community = public
-agent = interp0
-timeout = 5
-retries = 3
-window = 10
-delay = 0
% snmp watch 1
% mib oid procID
1.3.6.1.4.1.1575.1.3.2.1.1
## The following are generated by `snmp watch 1'
% get-next-request 7873 noError
1. 1.3.6.1.4.1.1575.1.3.2.1.1 NULL {}
response 7873 noError
1. 1.3.6.1.4.1.1575.1.4.1.1.0 INTEGER 1
Manager:
% mib load rfc1213.mib
% mib load tubs-mlm.mib
% mib load tubs-nfs.mib
% mib load tubs-proc.mib
% mib load tubs-tnm.mib
% set s [snmp session -port 1701 -address cascade -version SNMPv2c]
snmp0
% puts [$s configure]
-address 142.103.7.7 -port 1701 -version SNMPv2c -community public
-timeout 5 -retries 3 -window 10 -delay 0
% mib oid procID
1.3.6.1.4.1.1575.1.3.2.1.1
% $s getnext procID
{1.3.6.1.4.1.1575.1.4.1.1.0 INTEGER 1}
% mib name 1.3.6.1.4.1.1575.1.4.1.1.0
mlmLock.0
--Q Vincent Yin | Repeat vyin@cs.ubc.ca | delete(next->bug); (604) 876-9096 (H) | Until 0 = 1;
-- !! 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.