Solved

snmp v3 ubuntu

  • 28 April 2022
  • 1 reply
  • 1205 views

Badge +3

Bonjour, j’ai une autre question je ne comprend pas comment ajouter un host snmp v3 (os=ubuntu)

 j’ai cree un utilisateur avec cette commande

net-snmp-create-v3-user -ro -A STrP@SSWRD -a SHA -X STr0ngP@SSWRD -x AES snmpadmin

j’ai fait les teste snmpwalk

snmpwalk -v3 -a SHA -A STrP@SSWRD -x AES -X STr0ngP@SSWRD -l authPriv -u snmpadmin localhost | head

ping centreon to 10.100.30.14 is ok

 

icon

Best answer by Kriko 28 April 2022, 09:16

View original

1 reply

Userlevel 5
Badge +16

Hello.

Be carefull you used Os-Linux-SSH-custom as the template.
 

You should still use Os-Linux-SNMP-custom as the template, configure the community to v3 and in the macro SNMPEXTRAOPTIONS on your host you can add the SNMPv3 configuration:

--snmp-username='snmpadmin' --authpassphrase='STrP@SSWRD' --authpassprotocol='SHA' --privpassphrase='STr0ngP@SSWRD' --privpassprotocol='AES'

 

Reply