<div>here is a short snippet from kamailio debug logs:</div><div><br></div><div>16(11979) DEBUG: &lt;core&gt; [sr_module.c:807]: DEBUG: init_mod_child (12): dialog</div><div>16(11979) DEBUG: &lt;core&gt; [sr_module.c:807]: DEBUG: init_mod_child (12): snmpstats</div>
<div>16(11979) DEBUG: &lt;core&gt; [local_timer.c:67]: init_local_timer: timer_list between 0x8223264 and 0x8245264</div><div>16(11979) DEBUG: &lt;core&gt; [io_wait.h:361]: DBG: io_watch_add(0x82230a0, 29, 1, (nil)), fd_no=0</div>
<div>No log handling enabled - turning on stderr logging</div><div>NET-SNMP version 5.3.3 AgentX subagent connected</div><div><br></div><div>here we can see proper communication between kamailio and net-snmp:</div><div><br>
</div><div><div>sudo snmpd -f -Dagentx -x tcp:localhost:705</div><div>No log handling enabled - turning on stderr logging</div><div>registered debug token agentx, 1</div><div>agentx_register_app_config_handler: registering .conf token for &quot;agentxsocket&quot;</div>
<div>agentx_register_app_config_handler: registering .conf token for &quot;agentxperms&quot;</div><div>agentx_register_app_config_handler: registering .conf token for &quot;agentxRetries&quot;</div><div>agentx_register_app_config_handler: registering .conf token for &quot;agentxTimeout&quot;</div>
<div>Turning on AgentX master support.</div><div>agentx/master: initializing...</div><div>agentx/master: initializing...   DONE</div><div>NET-SNMP version 5.3.3</div><div>agentx/master: unexpected callback op 4</div><div>
agentx/master: handle pdu (req=0x64618cf8,trans=0x0,sess=0x0)</div><div>agentx/master: open 0x8b761b8</div><div>agentx/master: opened 0x8b86ae0 = 5 with flags = a0</div><div>agentx/master: send response, stat 0 (req=0x64618cf8,trans=0x0,sess=0x0)</div>
<div>agentx_build: packet built okay</div><div>agentx/master: handle pdu (req=0x64618cf9,trans=0x0,sess=0x5)</div><div>agentx/master: send response, stat 0 (req=0x64618cf9,trans=0x0,sess=0x5)</div><div><br></div><div>if i do an snmpwalk or snmpget,</div>
<div><div>snmpget -c VOIP -v 2c localhost .1.3.6.1.4.1.34352</div><div>SNMPv2-SMI::enterprises.34352 = No Such Object available on this agent at this OID</div><div><div>snmpwalk -c VOIP -v 2c localhost .1.3.6.1.4.1.34352</div>
<div>SNMPv2-SMI::enterprises.34352 = No Such Object available on this agent at this OID</div></div></div><div><br></div><div>i cannot see any other debug messages in kamailio when i do an snmpwalk or snmpget. </div><div>something is so screwed up here. can&#39;t seem to find it.</div>
<div> </div><div>let me take this opportunity to also share this patch to avoid the dreaded undefined symbol: EVP_DigestInit</div><div>problem when compiling. </div><div>apparently, </div><div>             BUILDAGENTLIBS = $(shell net-snmp-config --netsnmp-agent-libs)</div>
<div>is not enough because net-snmp external libraries aren&#39;t linked properly without implicitly stating it in the Makefile</div><div>so i added this line after it:</div><div>             BUILDAGENTLIBS += $(shell net-snmp-config --external-libs)</div>
<div>*this is assuming net-snmp is built without perl. (or i think even if built with perl, this additional line will fix it)</div></div><div><br></div>Kelvin Chua<br>
<br><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 1:15 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div class="im"><br>
<br>
On 02/14/2010 04:24 AM, Kelvin Chua wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi guys,<br>
<br>
anybody here tried using snmpstats with 3.0.0?<br>
</blockquote>
<br></div>
yes, before release there was quite some activity around this module.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i keep on getting &quot;No such Object&quot;<br>
<br>
already verified that kamailio is talking to agentx master.<br>
net-snmp version 5.3.3 compiled from source<br>
also disabled openssl and md5 in net-snmp to prevent any undefined symbols<br>
<br>
been reading the mailing lists and so far nothing helped. seems like only a couple of guys<br>
are using this module?<br>
</blockquote>
<br></div>
I am not really using it production wise, but if you can post here syslog messages of the error and other details that you can grab, I might be able to help.<br>
<br>
Cheers,<br><font color="#888888">
Daniel<br>
<br>
</font></blockquote></div><br>