System information

and have access to the Asterisk statistics. You should be able to click on Resource
Graphs after selecting the node you created and see a selection of graphs available, such
as SIP, DAHDI, Local, etc.
Enabling SNMPv3
Enabling SNMPv3 allows you to securely connect and transmit data from the SNMP
daemon to the SNMP client. This may not be necessary in a local environment, espe-
cially if the client and the daemon are running on the same machine. However, when
traversing public networks it is important to secure this data.
First, you need to stop the SNMP daemon, using the init script or the service command:
$ sudo /etc/init.d/snmpd stop
After stopping the daemon, you need to add the initial user to the /var/net-snmp/
snmpd.conf file. This file is dynamic in nature and should only be modified when the
SNMP daemon has been stopped.
You need to create a bootstrap user that you will be able to use to create the adminis-
tration user in the next step. Add the following line to the /var/net-snmp/snmpd.conf file:
createUser initial MD5 setup_passphrase DES
We’re modifying the snmpd.conf file we created in “Editing /etc/snmp/
snmpd.conf to work with your OpenNMS server” on page 553.
After adding it, save the file and exit. Next, you need to add permissions to the /etc/
snmp/snmpd.conf file. Add the following line to give the initial user read/write
permissions:
rwuser initial
After making these modifications, you can restart the SNMP daemon:
$ sudo /etc/init.d/snmpd start
Starting snmpd: [ OK ]
If you don’t see the [ OK ] part after Starting snmpd:, you have likely
made a mistake somewhere. Stop the daemon and try again.
Using your initial user, you now need to create a user for OpenNMS to connect to.
You’ll do this with the snmpusm
#
application. Execute the following command, which
#USM means User-based Security Model.
SNMP | 555