Hi, I`m trying to use the agent snmp buit in the asterisk-1.4, but I can`t do this... I used this link to do it: http://www.voipphreak.ca/archives/382 but I can't... Does somebody know how to do this or knows a how-to to do this?? Thank's _______________________________________________________ Yahoo! Mail - Sempre a melhor op??o para voc?! Experimente j? e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/
Hi Everton, Which portion of my howto are you having trouble with? Make sure you have compiled the res_snmp when you compiled asterisk. If you want to take this offlist email me at diwelf@gmail.com Thanks, Matt G On 02/05/07, Everton Goularth <evertongoularth@yahoo.com.br> wrote:> Hi, > > I`m trying to use the agent snmp buit in the asterisk-1.4, but I can`t > do this... > I used this link to do it: http://www.voipphreak.ca/archives/382 but I > can't... > > Does somebody know how to do this or knows a how-to to do this?? > > Thank's > > > _______________________________________________________ > Yahoo! Mail - Sempre a melhor op??o para voc?! > Experimente j? e veja as novidades. > http://br.yahoo.com/mailbeta/tudonovo/ > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hi Matt Gibson, First of all, congratulations for your how-to.. I selected res_snmp in my asterisk by the "menu select" and I complied the asterisk-1.4. After the compilation, I edited the res_snmp.conf and turn on snmp in asterisk as you said in your how-to. In my last tests I received "Warning: Failed to connect to the agentx master agent ([NIL]):" in the asterisk cli. And when I try the command that you say in your how-to (after to copy asterisk-mib.txt and digium-mib.txt to /usr/share/snmp/mibs): # export MIBS=+ASTERISK-MIB # snmpwalk -v 1 -c private localhost asterisk I receive nothing. What about my configuration?? /etc/snmp/snmpd.conf com2sec local localhost private com2sec mynet 192.168.0.0/24 public com2sec public default public group mygroup v1 mynet group mygroup v2c mynet group mygroup usm mynet group local v1 local group local v2c local group local usm local group public v1 public group public v2c public group public usm public view all included .1 80 access mygroup "" any noauth exact all all all access public "" any noauth exact all all all access local "" any noauth exact all all all master agentx agentXPerms 0660 0550 root root agentXSocket tcp:localhost:161 /etc/asterisk/res_snmp.conf [general] subagent = yes enabled = yes And I use this command to run snmpd and snmptrapd: snmpd -a -d -V -x 127.0.0.1 snmptrapd -a -Lf /var/log/snmptrapd.log Thank's for your help.... Everton Goularth Uberlandia - MG - Brasil _______________________________________________________ Yahoo! Mail - Sempre a melhor op??o para voc?! Experimente j? e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/