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

From Teknologisk videncenter
Jump to: navigation, search
m (Konfigure SNMP)
Line 23: Line 23:
  
  
rocommunity  public
+
1: 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
2
+
7: group public usm public
 
+
8: view all included .1
syslocation  "ColekColek"
+
9: access public "" any noauth exact all none none
 
 
 
 
 
 
 
 
 
 
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>
  

Revision as of 08:39, 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:
1: 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