Hi Michal,

thanks a lot for you quick answer I appreciate.

I run your commands and I have the following answer

[localhost snmp]# snmpwalk -c local -v 1 localhost asterisk
no answer

[localhost snmp]# snmpwalk -c local -v 2c localhost asterisk
ASTERISK-MIB::asterisk = No Such Object available on this agent at this OID


since I don't know well snmp what's going wrong ?

regards

Mickael



2009/11/27 michal kalinowski <[email protected]>

> 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 <[email protected]>:
> > 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
> >
>
> _______________________________________________
> -- 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
>
_______________________________________________
-- 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

Reply via email to