[asterisk-users] ASTERISK and SNMP

michal kalinowski michal.kalinowski at interia.pl
Fri Nov 27 03:59:26 CST 2009


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
>



More information about the asterisk-users mailing list