Linux Snmp: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
<pre>
 
<pre>
 
#agentaddress  127.0.0.1,[::1]
 
#agentaddress  127.0.0.1,[::1]
agentaddress  0.0.0.0,[::1]
+
agentaddress  0.0.0.0
 
#view  systemonly  included  .1.3.6.1.2.1.1
 
#view  systemonly  included  .1.3.6.1.2.1.1
 
view  systemonly  included  .1.3.6.1.2.1
 
view  systemonly  included  .1.3.6.1.2.1

Version vom 24. November 2021, 18:10 Uhr

Install

  • apt-get install snmpd

Changes in /etc/snmp/snmpd.conf

#agentaddress  127.0.0.1,[::1]
agentaddress  0.0.0.0
#view   systemonly  included   .1.3.6.1.2.1.1
view   systemonly  included   .1.3.6.1.2.1
sysLocation    Schulungsraum
sysContact     Technik technik@xinux.de
sysServices    72

Restart

  • systemctl restart snmpd