userdoc:tt_asterisk_snmp_monitoring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt_asterisk_snmp_monitoring [2013/05/08 15:10]
abelbeck [Asterisk SNMP Configuration]
userdoc:tt_asterisk_snmp_monitoring [2016/06/28 18:48] (current)
abelbeck [System SNMP Configuration]
Line 21: Line 21:
      
   syslocation Omaha, NE   syslocation Omaha, NE
-  syscontact AstLinux - www.astlinux.org+  syscontact AstLinux - www.astlinux-project.org
      
   agentaddress udp:127.0.0.1:161   agentaddress udp:127.0.0.1:161
Line 30: Line 30:
      
   sysObjectID .1.3.6.1.4.1.22736.1   sysObjectID .1.3.6.1.4.1.22736.1
-  mibs +ASTERISK-MIB+
  
 Edit ''syslocation'' and ''syscontact'' for your location. Edit ''syslocation'' and ''syscontact'' for your location.
-\\ 
  
-Apply snmpd.conf changes, restart snmpd service using CLI:+Apply ''snmpd.conf'' changes, restart snmpd service using CLI:
  
   service snmpd stop   service snmpd stop
   service snmpd init   service snmpd init
 +
 +With the system ''snmpd.conf'' changes applied, you should see useful information with the following commands.
  
 Example snmp commands using CLI: Example snmp commands using CLI:
Line 56: Line 57:
 ===== Asterisk SNMP Configuration ===== ===== Asterisk SNMP Configuration =====
  
-Enable SNMP in Asterisk using /etc/asterisk/res_snmp.conf+Enable SNMP in Asterisk by editing ''/etc/asterisk/res_snmp.conf'' in the ''[general]'' section:
  
   ;   ;
Line 63: Line 64:
   ;   ;
   ; -- snip --   ; -- snip --
-  ; See https://wiki.asterisk.org/wiki/display/AST/Simple+Network+Management+Protocol+(SNMP)+Support  
-  ; to get more information about 
-  ; snmp support in Asterisk 
      
   [general]   [general]
Line 73: Line 71:
   ; SNMP must be explicitly enabled to be active   ; SNMP must be explicitly enabled to be active
   enabled = yes   enabled = yes
-\\+ 
 +Apply the ''res_snmp.conf'' change in Asterisk, unload and load the ''res_snmp.so'' module, or restart the asterisk service. 
 + 
 +With both the system ''snmpd.conf'' and Asterisk ''res_snmp.conf'' changes applied, you should see useful information with the following commands.
  
 Example snmp commands using CLI: Example snmp commands using CLI:
  • userdoc/tt_asterisk_snmp_monitoring.1368043827.txt.gz
  • Last modified: 2013/05/08 15:10
  • by abelbeck