Linux Snmp: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 10: Zeile 10:
 
sysContact    Technik technik@xinux.de
 
sysContact    Technik technik@xinux.de
 
sysServices    72
 
sysServices    72
 +
rocommunity  P@ssw0rd default -V systemonly
 +
#rocommunity6 public default -V systemonly
 
</pre>
 
</pre>
  
 
=Restart=
 
=Restart=
 
*systemctl restart snmpd
 
*systemctl restart snmpd

Aktuelle Version vom 10. Februar 2023, 07:32 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
rocommunity  P@ssw0rd default -V systemonly
#rocommunity6 public default -V systemonly

Restart

  • systemctl restart snmpd