It seems the doc page has an error.<br>It says to set this at snmpstats.conf:<br>agentXSocket tcp:localhost:705<br>And this when starting snmpd:<br>snmpd -f -Dagentx -x localhost:705 2>&1 | less<br><br>This will not work because snmpd will use udp by default.<br>
So I added 'tcp:' before 'localhost' and after that, I could see some messages like this:<br>agentx/master: handle pdu (req=0x68ab0cd4,trans=0x0,sess=0x7)<br>agentx/master: send response, stat 0 (req=0x68ab0cd4,trans=0x0,sess=0x7)<br>
agentx_build: packet built okay<br><br>But after that, I'm still not able to get anything with snmpget:<br><br>snmpget -v2c -c public tcp:localhost:705 openserSIPEntityType.0<br>snmpget: Session abort failure (Sub-id not found: (top) -> openserSIPEntityType)<br>
<br><div class="gmail_quote">On Thu, Jul 3, 2008 at 6:15 PM, mayamatakeshi <<a href="mailto:mayamatakeshi@gmail.com">mayamatakeshi@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>I'm trying to test with snmpstats following instruction from <a href="http://www.openser.org/docs/modules/1.3.x/snmpstats.html" target="_blank">http://www.openser.org/docs/modules/1.3.x/snmpstats.html</a><br>
<br>From snmpd output, I can see openser is connecting to it, but i don't see openser uploading any info (I'm running "snmpd -f -Dagentx -x localhost:705 2>&1 | less"). Then, when I try to get any openser info using snmpget or snmpwalk, nothing shows up.<br>
<br>Maybe I am missing something (I confirmed snmpd finds and loads openser MIBs).<br><br>Regards,<br>takeshi<br><br><br><br><br>
</blockquote></div><br>