I did ./configure --prefix=/usr --with-mib-modules="nstAgentModuleObject" make clean make make install I ran /usr/sbin/snmpd -C -c /etc/snmp/snmpd.conf -DnstAgentModuleObject -a -A -d I then run snmpget -c public -v 1 localhost nstAgentModuleObject.0
I get this output in /var/log/snmpd.log nstAgentModuleObject: Initializing the nstAgentModuleObject module nstAgentModuleObject: Initalizing nstAgentModuleObject scalar integer. Default value = 1 nstAgentModuleObject: Done initalizing nstAgentModuleObject module NET-SNMP version 5.2.1 Received 48 bytes from UDP: [127.0.0.1]:32789 0000: 30 2E 02 01 00 04 06 70 75 62 6C 69 63 A0 21 02 0......public.!. 0016: 04 21 92 6B 38 02 01 00 02 01 00 30 13 30 11 06 .!.k8......0.0.. 0032: 0D 2B 06 01 04 01 BF 08 02 04 01 01 01 00 05 00 .+.............. Received SNMP packet(s) from UDP: [127.0.0.1]:32789 GET message -- NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Sending 48 bytes to UDP: [127.0.0.1]:32789 0000: 30 2E 02 01 00 04 06 70 75 62 6C 69 63 A2 21 02 0......public.!. 0016: 04 21 92 6B 38 02 01 02 02 01 01 30 13 30 11 06 .!.k8......0.0.. 0032: 0D 2B 06 01 04 01 BF 08 02 04 01 01 01 00 05 00 .+.............. This is what snmpget gives me Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Results are the same for snmpset. I can get other variables just find (sysUpTime.0, sysDescr.0, etc). It looks like snmpd knows what I'm asking for. What is going on? -- John Pfaff [EMAIL PROTECTED] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users