i created new mib LEAF.txt specified leaf in experimental branch of hierarchy 
and loaded is as shown in documentation 

http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Module

i used env option in mib2c and mib2c.scalar.conf to create leaf.c and leaf.h 
files. then i put these files in /agent/mibgroup

i did 
net-snmp5.4.1>make clean
net-snmp5.4.1>./configure --with-MIB-modules="path of leaf.txt/leaf"
net-snmp5.4.1>make
net-snmp5.4.1>make install

when i did snmpget for objects (e.g. leafHostName written in my MIB)
it is saying no instance of such object found.

similarly, when i started snmpd with -f option and then tried snmpget it ended 
in segmentation fault

is it related with leaf.c file? how to make newly created .c file compatible 
with net-snmp package(or agent)? 
please help me out..

thank you.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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