Dave Shield wrote:
On Thu, 2005-05-05 at 09:55, dwarf wrote:
  
Created my MIB, copy it to mibs directory. Build agent with my MIB.
    

How did you build the agent?
Did you write any code to implement this MIB?

Please see the FAQ entry
	How do I add a MIB to the agent?

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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

  
This agent build with configure :

./configure --prefix=/opt/x86/snmp --disable-applications --disable-manuals --disable-scripts --disable-mibs --disable-mib-loading --disable-des --disable-md5 --disable-snmpv3 --disable-debugging --disable-privacy --disable-internal-md5 --enable-mini-agent --disable-shared --enable-static --without-kmem-usage --with-copy-persistent-files="no" --with-default-snmp-version="2" --with-out-transports="TCP UDPIPv6 TCPIPv6 Callback AAL5PVC IPX" --with-out-mib-modules="mibII snmpv3mibs ucd_snmp agent_mibs agentx notification target utilities" --with-out-security-modules="ksm" --without-openssl --without-krb5 --without-rpm --without-opaque-special-types --without-libwrap --without-zlib --with-persistent-directory="/opt/x86/snmp" --with-sys-location="Softier Inc" --with-logfile="/opt/x86/snmp/log" --with-sys-contact="gxk" --disable-dependancy-tracking --without-gnu-ld --without-pic --with-mib-modules="ipstb"

As you can see the last parameter is my MIB. It's compiled well. I create this MIB with mib2c.scalar.conf file.
It is very simple.
So, on one linux i ran as root:
    snmpd -f -C -c ./snmpd.conf -Lf ./log.log
>From another call
    snmpget -c gxk -v 2c 192.168.2.24 ipstb
which brings this answer.
Nothing in agent log file.

------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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

Reply via email to