It seems the doc page has an error.
It says to set this at snmpstats.conf:
agentXSocket tcp:localhost:705
And this when starting snmpd:
snmpd -f -Dagentx -x localhost:705 2>&1 | less

This will not work because snmpd will use udp by default.
So I added 'tcp:' before 'localhost' and after that, I could see some messages like this:
agentx/master: handle pdu (req=0x68ab0cd4,trans=0x0,sess=0x7)
agentx/master: send response, stat 0 (req=0x68ab0cd4,trans=0x0,sess=0x7)
agentx_build: packet built okay

But after that, I'm still not able to get anything with snmpget:

snmpget -v2c -c public tcp:localhost:705 openserSIPEntityType.0
snmpget: Session abort failure (Sub-id not found: (top) -> openserSIPEntityType)

On Thu, Jul 3, 2008 at 6:15 PM, mayamatakeshi <mayamatakeshi@gmail.com> wrote:
Hello,
I'm trying to test with snmpstats following instruction from http://www.openser.org/docs/modules/1.3.x/snmpstats.html

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.

Maybe I am missing something (I confirmed snmpd finds and loads openser MIBs).

Regards,
takeshi