Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_asterisk_snmp_monitoring [2013/05/08 14:59] abelbeck [System SNMP Configuration] |
userdoc:tt_asterisk_snmp_monitoring [2016/06/28 18:48] (current) abelbeck [System SNMP Configuration] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Asterisk SNMP Monitoring ====== | ====== Asterisk SNMP Monitoring ====== | ||
- | Asterisk includes the res_snmp.so module designed to provide monitoring information via SNMP. | + | Asterisk includes the res_snmp.so module designed to provide monitoring information via SNMP. |
!!Note: AstLinux 1.1.2 or later is required!! | !!Note: AstLinux 1.1.2 or later is required!! | ||
Line 21: | Line 21: | ||
| | ||
syslocation Omaha, NE | syslocation Omaha, NE | ||
- | syscontact AstLinux - www.astlinux.org | + | syscontact AstLinux - www.astlinux-project.org |
| | ||
agentaddress udp: | agentaddress udp: | ||
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 | ||
- | \\ | ||
- | Restart | + | |
+ | Edit '' | ||
+ | |||
+ | Apply '' | ||
service snmpd stop | service snmpd stop | ||
service snmpd init | service snmpd init | ||
+ | |||
+ | With the system '' | ||
Example snmp commands using CLI: | Example snmp commands using CLI: | ||
Line 54: | Line 57: | ||
===== Asterisk SNMP Configuration ===== | ===== Asterisk SNMP Configuration ===== | ||
+ | Enable SNMP in Asterisk by editing ''/ | ||
+ | |||
+ | ; | ||
+ | ; Configuration file for res_snmp | ||
+ | ; | ||
+ | ; | ||
+ | ; -- snip -- | ||
+ | | ||
+ | [general] | ||
+ | ; We run as a subagent per default -- to run as a full agent | ||
+ | ; we must run as root (to be able to bind to port 161) | ||
+ | subagent = yes | ||
+ | ; SNMP must be explicitly enabled to be active | ||
+ | enabled = yes | ||
+ | |||
+ | Apply the '' | ||
+ | |||
+ | With both the system '' | ||
Example snmp commands using CLI: | Example snmp commands using CLI: |