Hi Jeffrey,<br>thanks for the tip.<br>Yes, snmpget was not loading openser MIBs (only snmpd was doing it).<br>I&#39;m almost there but now I have another problem.<br>Both snmpget and snmpd are now logging this:<br><br>Warning: Upper bound not handled correctly (4294967295 != 2147483647): At line 435 in /usr/share/snmp/mibs/OPENSER-SIP-SERVER-MIB<br>
<br>Maybe there is a version problem between openser and net-snmp. I&#39;ll try to recompile or downgrade net-snmp (I using v. 5.4.1).<br><br>Regards,<br>takeshi<br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 10:35 PM, jmagder &lt;<a href="mailto:jmagder@somanetworks.com">jmagder@somanetworks.com</a>&gt; 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 Mayamatakeshi,<br>
<br>
The error is from snmpget. &nbsp;It is basically saying that it doesn&#39;t know how to translate the openserSIPEntityType into a numerical OID. &nbsp;There are two possibilities for this error.<br>
<br>
Firstly, have you copied the MIB files (OPENSER-MIB, OPENSER-REG-MIB, OPENSER-SIP-COMMON-MIB, OPENSER-SIP-SERVER-MIB) to the same location as NetSNMP&#39;s other MIB files? &nbsp;They are usually located in /usr/local/share/snmp/mibs or /usr/share/snmp/mibs. &nbsp;You can find which directory your system is using with &quot;locate SNMPv2-TC.txt&quot;. Also, make sure your snmp.conf (not the snmpd.conf) file contains:<br>

<br>
mibs +ALL<br>
<br>
This instructs the snmp command line utilities (snmpget, snmpwalk, etc.), to load all MIB files before trying to convert between openserSIPEntityType and its numerical OID equivalent. <br>
Let me know if that works!<br>
<br>
- Jeffrey Magder<br>
<br>
<br>
<br>
mayamatakeshi wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
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&gt;&amp;1 | less<br>
<br>
This will not work because snmpd will use udp by default.<br>
So I added &#39;tcp:&#39; before &#39;localhost&#39; 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&#39;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) -&gt; openserSIPEntityType)<br>
<br></div><div class="Ih2E3d">
On Thu, Jul 3, 2008 at 6:15 PM, mayamatakeshi &lt;<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a> &lt;mailto:<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Hello,<br>
 &nbsp; &nbsp;I&#39;m trying to test with snmpstats following instruction from<br>
 &nbsp; &nbsp;<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>
 &nbsp; &nbsp;From snmpd output, I can see openser is connecting to it, but i<br>
 &nbsp; &nbsp;don&#39;t see openser uploading any info (I&#39;m running &quot;snmpd -f<br>
 &nbsp; &nbsp;-Dagentx -x localhost:705 2&gt;&amp;1 | less&quot;). Then, when I try to get<br>
 &nbsp; &nbsp;any openser info using snmpget or snmpwalk, nothing shows up.<br>
<br>
 &nbsp; &nbsp;Maybe I am missing something (I confirmed snmpd finds and loads<br>
 &nbsp; &nbsp;openser MIBs).<br>
<br>
 &nbsp; &nbsp;Regards,<br>
 &nbsp; &nbsp;takeshi<br>
<br>
<br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
 &nbsp;<br>
</blockquote>
<br>
</blockquote></div><br>