Hi Michal,<br><br>thanks a lot for you quick answer I appreciate.<br><br>I run your commands and I have the following answer<br><br>[localhost snmp]# snmpwalk -c local -v 1 localhost asterisk<br>no answer<br><br>[localhost snmp]# snmpwalk -c local -v 2c localhost asterisk<br>
ASTERISK-MIB::asterisk = No Such Object available on this agent at this OID<br><br><br>since I don't know well snmp what's going wrong ?<br><br>regards<br><br>Mickael<br><br><br><br><div class="gmail_quote">2009/11/27 michal kalinowski <span dir="ltr"><<a href="mailto:michal.kalinowski@interia.pl">michal.kalinowski@interia.pl</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Mickael<br>
<br>
Here You have the snmpd.conf file<br>
<br>
cat /etc/snmp/snmpd.conf<br>
rocommunity your_community<br>
master agentx<br>
agentXperms 0660 0550 nobody asterisk<br>
SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"<br>
mibs +ASTERISK-MIB<br>
<br>
and also you need create file /etc/snmp/snmp.conf with following entry<br>
"mibs +ASTERISK-MIB"<br>
<br>
cat /etc/snmp/snmp.conf<br>
mibs +ASTERISK-MIB<br>
<br>
Next use command "snmpwalk -c your_community -v 1 localhost asterisk"<br>
to check is everything correct.<br>
<br>
<br>
<br>
Micha³<br>
<br>
2009/11/27 mickael ropars <<a href="mailto:mropars@gmail.com">mropars@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi all,<br>
><br>
> I am currently not able to configure SNMP for asterisk, but I am not able to<br>
> acess to the asterisk MIB (the asterisk MIB is in /usr/share/snmp/mibs/)<br>
><br>
><br>
> Does somebody has an example of smnpd.conf file wich is working ?<br>
><br>
> regards<br>
><br>
> Mickael<br>
><br>
</div></div>> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>