Skip to main content
Solved

snmp v3 ubuntu

  • April 27, 2022
  • 1 reply
  • 1433 views

Forum|alt.badge.img+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

 

Best answer by Kriko

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'

 

View original

Forum|alt.badge.img+16
  • Steward **
  • April 28, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings