[asterisk-users] SNMP on Asterisk 11

Tech Support asterisk at voipbusiness.us
Tue Dec 1 09:32:38 CST 2015


All;

I am trying to setup SNMP on an Asterisk 11 system on CentOS 6. I have the
net-snmp packages installed and I made sure that SNMP support is compiled
into Asterisk and that the res_snmp.so module is loaded. res_snmp.conf is
configured like so:

 

[general]

subagent = yes

enabled = yes

 

My /etc/snmp/snmpd.conf file has the AgentX support configured.

 

master agentx

agentXPerms  0660 0550 nobody asterisk

 

 

And both the Asterisk mib and the Digium mib are being loaded. I check that
by

 

>> snmptranslate -On -Td ASTERISK-MIB::asteriskVersion

 

.1.3.6.1.4.1.22736.1.1

asteriskVersion OBJECT-TYPE

  -- FROM       ASTERISK-MIB

::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1)
digium(22736) asterisk(1) 1 }

 

 

When I do a query on a non-asterisk OID, I do get a valid response. However,
when I try to do a query using the Asterisk mib, I'm getting the following
error:

 

>> snmpwalk -v 2c -c private localhost .1.3.6.1.4.1.22736.1.1

 

SNMPv2-SMI::enterprises.22736.1.1 = No Such Object available on this agent
at this OID

 

 

Has anyone ever come across this problem? Any insight at all would be
greatly appreciated.

Thanks;

John V.

 

Tech Support

Tech Support

VoIP Business Solutions

240-215-3479 x325

support at voipbusiness.us <mailto:fsd at voipbusiness.us> 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151201/58b04fc2/attachment.html>


More information about the asterisk-users mailing list