SNMP upgrade to version 3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

SNMP upgrade to version 3

Post by bosecorp »

Hi Team,

We will be upgrading from SNMPv2 to SNMPv3.
Please let us know the things we need to take care from nagios point.


Thanks!
syang

Re: SNMP upgrade to version 3

Post by syang »

Hi Bosecorp,

I was able to upgrade my Linux machine from SNMPv2 to SNMPv3 without a problem.

Start by creating a backup of the original /etc/smp/snmpd.conf file

Code: Select all

cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.bak
Stop the the SNMP service while adding SNMPv3.

Code: Select all

systemctl stop snmpd.service
Use the following command to create the SNMPv3 user which will be added to the /etc/snmp/snmpd.conf and the /var/lib/net-snmp/snmpd.conf. Replace the necessary passwords, username, and authentication types.

Code: Select all

net-snmp-create-v3-user -ro -a SHA -A Str0ng@uth3ntic@ti0n -x AES -X Str0ngPriv@cy nagios
Then restart the service.

Code: Select all

sudo systemctl start snmpd.service
In the XI GUI, you would have to re-monitor the devices that have been upgraded to SNMPv3.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP upgrade to version 3

Post by ssax »

Thanks syang!

Please see here as well:

https://support.nagios.com/forum/viewto ... 47#p212147

Let us know if you have any specific questions.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: SNMP upgrade to version 3

Post by bosecorp »

thanks, you can close this ticket
Locked