OK, somehow I've missed something. I have it working on fedora core9. Looked at 
the FAQ.

Switched over to a new machine, debian, that already has net-snmp installed.

Ran mib2c fine.  Got output .c/.h and copied to netsnmp/agent/mibgroup and 
added code AND logging.  Especially in the init_XXXobject.
Ran configure -with-mib-modules="XXXobject"
Ran make, make install. Yes .o and .lo are remade.

Ran net-snmp-config -configure-options and I see "-with-mib-modules="XXXobject"

Then ran daemon, snmpd with debug and I see NO debug output from the 
init_XXXXobject like I do in fedora. Tailing /var/log/snmpd.log
So please tell me what did I miss?? I do see the request go to the agent, and 
it knows the alpha name of the object.

Snmptranslate will work. But an snmpget gives the expected no such object in 
agent(expected since I never saw the load msg)

I doubt it's a permission issue, its all read only, and I config'd for v2c read 
only with public. But that shouldn't stop it from calling init should it?

So why won't it call the init?, Isn't the new MIB code now linked into the main 
agent?  How do you debug this.  IS there a -D token I can use???

Thanks in advance.
Ed




------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to