SNMP - Configure SNMP service for Linux

De PedroWiki
Révision datée du 7 mars 2023 à 15:13 par Jules (discussion | contributions) (Page créée avec « = Introduction = SNMP configuration on Linux may be complex. Many documentation exist on Internet but they describe so many different methods it makes it difficult to id... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Introduction

SNMP configuration on Linux may be complex.

Many documentation exist on Internet but they describe so many different methods it makes it difficult to identify THE best way to do it.

This article will try to identify a kind of procedure to install and configure the service.

Useful links

Install and configure the service

Ubuntu / Debian

Useful packages:

  • snmp
  • snmpd
  • libsnmp-dev

Dependencies:

  • libsnmp-base
  • libsnmp35:amd64

Packages installation:

apt-get install snmp
apt-get install snmpd
apt-get install libsnmp-dev

Service configuration:

systemctl stop snmpd.service
net-snmp-config --create-snmpv3-user
systemctl start snmpd.service