Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_asterisk_snmp_monitoring [2013/05/08 15:04] abelbeck [Asterisk SNMP Monitoring] |
userdoc:tt_asterisk_snmp_monitoring [2013/05/08 15:22] abelbeck [Asterisk SNMP Configuration] |
||
---|---|---|---|
Line 33: | Line 33: | ||
Edit '' | Edit '' | ||
- | \\ | ||
Apply snmpd.conf changes, restart snmpd service using CLI: | Apply snmpd.conf changes, restart snmpd service using CLI: | ||
Line 39: | Line 38: | ||
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 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: |