doc:appunti:linux:sa:snmp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:snmp [2017/11/07 15:34] – [SNMP su ipv6] niccolo | doc:appunti:linux:sa:snmp [2020/04/01 11:40] (current) – [SNMP con systemd su Debian 9 e seguenti] niccolo | ||
---|---|---|---|
Line 21: | Line 21: | ||
.1.3.6.1.2.1.31.1.1.1.1.2 | .1.3.6.1.2.1.31.1.1.1.1.2 | ||
- | # snmptranslate .1.3.6.1.2.1.31.1.1.1.1.2 | + | # snmptranslate |
IF-MIB:: | IF-MIB:: | ||
Line 404: | Line 404: | ||
</ | </ | ||
- | ===== SNMP con systemd su Debian 9 ===== | + | ===== SNMP con systemd su Debian 9 e seguenti |
**Debian 9 Stretch** utilizza il sistema di init **systemd** invece del vecchio // | **Debian 9 Stretch** utilizza il sistema di init **systemd** invece del vecchio // | ||
Line 415: | Line 415: | ||
Eventuali personalizzazioni dei parametri di snmpd non si fanno più con la variabile d' | Eventuali personalizzazioni dei parametri di snmpd non si fanno più con la variabile d' | ||
+ | |||
+ | Ecco ad esempio come modificare la riga **ExecStart** per diminuire il logging e sopprimere tutte le righe **Connection from UDP** che riempiono il syslog (nota: si modifica **%%-Lsd%%** in **%%-LSwd%%**): | ||
+ | |||
+ | < | ||
+ | ExecStart=/ | ||
+ | -I -smux, | ||
+ | </ | ||
+ | |||
+ | In alternativa a **sostituire completamente il file unit** (cioè il file / | ||
+ | |||
+ | < | ||
+ | [Service] | ||
+ | Environment=" | ||
+ | ExecStart= | ||
+ | ExecStart=/ | ||
+ | -I -smux, | ||
+ | </ | ||
+ |
doc/appunti/linux/sa/snmp.1510065264.txt.gz · Last modified: 2017/11/07 15:34 by niccolo