Hi all, I am currently not able to configure SNMP for asterisk, but I am not able to acess to the asterisk MIB (the asterisk MIB is in /usr/share/snmp/mibs/) Does somebody has an example of smnpd.conf file wich is working ? regards Mickael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091127/9d8e6d9d/attachment.htm
Hello Mickael Here You have the snmpd.conf file cat /etc/snmp/snmpd.conf rocommunity your_community master agentx agentXperms 0660 0550 nobody asterisk SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master" mibs +ASTERISK-MIB and also you need create file /etc/snmp/snmp.conf with following entry "mibs +ASTERISK-MIB" cat /etc/snmp/snmp.conf mibs +ASTERISK-MIB Next use command "snmpwalk -c your_community -v 1 localhost asterisk" to check is everything correct. Micha? 2009/11/27 mickael ropars <mropars at gmail.com>:> Hi all, > > I am currently not able to configure SNMP for asterisk, but I am not able to > acess to the asterisk MIB (the asterisk MIB is in /usr/share/snmp/mibs/) > > > Does somebody has an example of smnpd.conf file wich is working ? > > regards > > Mickael > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >
Everuthing is working fine, but I have another question to SNMP users: There is no hardware info in the MIB. How can you do to send alarm (when one interface is down for exemple), is there no way to check its status? NB: I am using a Digium card regards Mickael 2009/11/27 mickael ropars <mropars at gmail.com>> Hi all, > > I am currently not able to configure SNMP for asterisk, but I am not able > to acess to the asterisk MIB (the asterisk MIB is in /usr/share/snmp/mibs/) > > > Does somebody has an example of smnpd.conf file wich is working ? > > regards > > Mickael >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091127/4a7a8b8a/attachment.htm
Your Digium card is for linux standard interface like eth0 (ethernet), check IF-MIB.txt and OID from there. BR, Micha? 2009/11/27 mickael ropars <mropars at gmail.com>:> Everuthing is working fine, but I have another question to SNMP users: > > There is no hardware info in the MIB. > > How can you do to send alarm (when one interface is down for exemple), is > there no way to check its status? > > NB: I am using a Digium card > > regards > > Mickael > > 2009/11/27 mickael ropars <mropars at gmail.com> >> >> Hi all, >> >> I am currently not able to configure SNMP for asterisk, but I am not able >> to acess to the asterisk MIB (the asterisk MIB is in /usr/share/snmp/mibs/) >> >> >> Does somebody has an example of smnpd.conf file wich is working ? >> >> regards >> >> Mickael > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >