SNMP Server: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
Changes in /etc/snmp/snmpd.conf
Changes in /etc/snmp/snmpd.conf
<pre>
<pre>
agentAddress udp:161,udp6:[::1]:161
agentaddress  0.0.0.0,[::1]
view  systemonly  included  .1.3.6.1.2.1
view  systemonly  included  .1.3.6.1.2.1
sysLocation    vhost on peter
sysLocation    vhost on peter
Zeile 9: Zeile 9:
sysServices    72
sysServices    72
</pre>
</pre>
=Restart=
*systemd restart snmpd

Version vom 11. November 2021, 14:57 Uhr

Install

  • apt-get install snmpd

Changes in /etc/snmp/snmpd.conf

agentaddress  0.0.0.0,[::1]
view   systemonly  included   .1.3.6.1.2.1
sysLocation    vhost on peter
sysContact     Technik technik@xinux.de
sysServices    72

Restart

  • systemd restart snmpd