Linux Snmp: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
Changes in /etc/snmp/snmpd.conf
 
Changes in /etc/snmp/snmpd.conf
 
<pre>
 
<pre>
 +
#agentaddress  127.0.0.1,[::1]
 
agentaddress  0.0.0.0,[::1]
 
agentaddress  0.0.0.0,[::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
sysLocation    vhost on peter
+
sysLocation    Schulungsraum
 
sysContact    Technik technik@xinux.de
 
sysContact    Technik technik@xinux.de
 
sysServices    72
 
sysServices    72
 
</pre>
 
</pre>
 +
 
=Restart=
 
=Restart=
 
*systemctl restart snmpd
 
*systemctl restart snmpd

Version vom 24. November 2021, 16:49 Uhr

Install

  • apt-get install snmpd

Changes in /etc/snmp/snmpd.conf

#agentaddress  127.0.0.1,[::1]
agentaddress  0.0.0.0,[::1]
#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