<span class="gmail_quote"></span>Hi Jefrey<br>
<br>
Thanks for your answer.<br>
<br>
I will reply every point:<br>
<br>
# /opt/net-snmp/bin/snmpwalk -v 2c -c community localhost .1.3.6.1.4.1.27483<br>
OPENSER-REG-MIB::openser = No Such Object available on this agent at this OID<br>
<br>
# ps -ef | grep snmpd<br>
root 1649 579 0
17:50:07 pts/2 0:17
/opt/net-snmp/sbin/snmpd -d -f -Dagentx -x tcp:localhost:705<br>
root 2935 2778 0 09:59:21 pts/3 0:00 grep snmpd<br>
(I am running debug mode; the syntax of ps command is a little bti different because I am using Solaris)<br>
<br>
# grep -i agentx /var/log/snmpd.log<br>
agentx_build: packet built okay<br>
agentx/master: handle pdu (req=0x3ac55fdb,trans=0x0,sess=0xf)<br>
agentx/master: send response, stat 0 (req=0x3ac55fdb,trans=0x0,sess=0xf)<br>
agentx_build: packet built okay<br>
agentx/master: handle pdu (req=0x3ac55fdc,trans=0x0,sess=0xf)<br>
agentx/master: send response, stat 0 (req=0x3ac55fdc,trans=0x0,sess=0xf)<br>
agentx_build: packet built okay<br>
agentx/master: handle pdu (req=0x3ac55fdd,trans=0x0,sess=0xf)<br>
agentx/master: send response, stat 0 (req=0x3ac55fdd,trans=0x0,sess=0xf)<br>
agentx_build: packet built okay<br>
...<br>
<br>
# cat /opt/net-snmp/share/snmp/snmpstats.conf<br>
agentXsocket tcp:localhost:705<br>
<br>
# cat /opt/net-snmp/share/snmp/snmpd.conf<br>
syslocation XXXX<br>
syscontact XXXX<br>
agentaddress udp:161<br>
rocommunity community localhost<br>
master agentx<br>
<br>
As you can see, both of the files are located at the same directory.<br>
<br>
Finally, I do have tried the check. I can see Openser starts OK and the master agent receives the connection of the sub agent.<br>
<br>
Thank you very much for your help.<br>
<br>
Kind regards.<br>
<br>
Sergio G.<div><span class="e" id="q_1119e3d02382ef18_1"><br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 3/29/07, <b class="gmail_sendername">jmagder</b> <<a href="mailto:jmagder@somanetworks.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jmagder@somanetworks.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Sergio,<br><br>First off, could you try running "/opt/net-snmp/bin/snmpwalk -v 2c -c<br>community sipserver .1.3.6.1.4.1.27483"? If that isn't succeeding,<br>then it would greatly help me debug your problem if you could answer the
<br>following questions:<br><br>1) What is the output of "ps aux | grep snmpd"?<br><br>2) What is the output of "cat /var/log/messages | grep AgentX"<br><br>3) Can you show me the contents of snmpstats.conf
?<br><br>4) Does snmpd.conf contain "master agentx"?<br><br>5) Is snmpd.conf located in the same directory as snmpstats.conf?<br><br>6) Have you tried the steps in "Testing for a proper Configuration" in
<br>section 1.6.4?<br><br>Thanks Sergio!<br><br>- Jeffrey Magder<br><br>Sergio Gutierrez wrote:<br>> Hi list.<br>><br>> I have installed Openser 1.2.0, with Net-snmp version 5.4 to support<br>> the SNMPstats module. I have configured the subagent according to the
<br>> instructions on the documentation, but I am not being able to obtain<br>> any data.<br>><br>> I am running both products on Solaris 10 Sparc.<br>><br>> # /opt/net-snmp/bin/snmpwalk -v 2c -c community sipserver
<br>> .1.3.6.1.4.1.27483.3.1.1.1.1.1.1<br>> SNMPv2-SMI::enterprises.27483.3.1.1.1.1.1 = No Such Object available<br>> on this agent at this OID<br>><br>> # /opt/net-snmp/bin/snmpwalk -v 2c -c community sipserver
<br>> openserSIPProtocolVersion<br>> SNMPv2-SMI::enterprises.27483.3.1.1.1.1.1 = No Such Object available<br>> on this agent at this OID<br>><br>> Is there any other thing I should do after compiling and configuring?
<br>><br>> Thanks in advance for your attention<br>><br>> Kind Regards.<br>><br>> Sergio Gutiérrez<br>><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org
</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br><br></blockquote></div><br>
</span></div>