Difference between revisions of "Cluster der kan alt/Overvågning med MRTG"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with "=Opsætning af MRTG= # Intaller MRGT & SNMP <source lang=cli> $ sudo apt-get install mrtg snmpd </source> ==Konfigure SNMP== # Backup configuration file: <source lang=cli> $ su...")
 
Line 17: Line 17:
 
$ sudo nano /etc/snmp/snmpd.conf
 
$ sudo nano /etc/snmp/snmpd.conf
 
</source>
 
</source>
 +
 +
# Erstat nuværende indhold med:
 +
 +
<source lang=cli>
 +
 +
 +
rocommunity  public
 +
 +
 +
 +
 +
 +
2
 +
 +
syslocation  "ColekColek"
 +
 +
 +
 +
 +
 +
3
 +
 +
syscontact  xxxxxx@yahoo.com
 +
 +
 +
 +
 +
 +
4
 +
 +
com2sec public localhost public
 +
 +
 +
 +
 +
 +
5
 +
 +
group public v1 public
 +
 +
 +
 +
 +
 +
6
 +
 +
group public v2c public
 +
 +
 +
 +
 +
 +
7
 +
 +
group public usm public
 +
 +
 +
 +
 +
 +
8
 +
 +
view all included .1
 +
 +
 +
 +
 +
 +
9
 +
 +
access public "" any noauth exact all none none
 +
</source>
 +
 +
  
  
 
{{Source cli}}
 
{{Source cli}}
 
[[Category:cluster]][[Category:Ubuntu]]
 
[[Category:cluster]][[Category:Ubuntu]]

Revision as of 08:38, 20 April 2012

Opsætning af MRTG

  1. Intaller MRGT & SNMP
$ sudo apt-get install mrtg snmpd

Konfigure SNMP

  1. Backup configuration file:
$ sudo mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak
  1. Lav ny konfig fil
$ sudo nano /etc/snmp/snmpd.conf
  1. Erstat nuværende indhold med:
rocommunity  public





2

syslocation  "ColekColek"





3

syscontact  xxxxxx@yahoo.com





4

com2sec public localhost public





5

group public v1 public





6

group public v2c public





7

group public usm public





8

view all included .1





9

access public "" any noauth exact all none none