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... »)
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
- SNMP et la supervision.
- snmpusm man page.
- Configure an SNMP daemon and client on Ubuntu 18.04.
- net-snmp documentation on SourceForge.
- ...
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