"There are only 10 kinds of people on this world. Those who know binary and those who don't"
Al is het nieuws nog zo slecht, het wordt leuker als je het op zijn Brabants zegt :)
1
2
3
4
5
6
7
8
9
| System: epimetheus in "my room" Maintainer: matthias Description: eth0 ifType: ethernetCsmacd (6) ifName: Max Speed: 1250.0 kBytes/s Ip: 192.168.0.10 (epimetheus) The statistics were last updated Wednesday, 15 June 2005 at 22:50, at which time 'epimetheus' had been up for 3:52:43. |
Neen hoor. Dat is wel in orde!
't is gewoon een standaard rtl8029 kaartje. Nothing fancy. Voor de rest heb ik nérgens geen problemen.
O ja, ik woon nog thuis. Dus ik laat mijn servertje niet continu aanstaan. Mijn ouders zijn niet bepaald opgezet met onbeheerde pc's die staan te draaien.
[ Voor 18% gewijzigd door netsensei916 op 15-06-2005 23:52 ]
"There are only 10 kinds of people on this world. Those who know binary and those who don't"
VangenopBetaalwater.nl Het platform om ervaringen over betaalwater in Frankrijk te delen met andere karpervissers zodat iedereen kan vangen op betaalwater!
Een echte golver is nooit uitgeput
Verwijderd
Ik doe toch even een gooi:
Heb je gecontroleerd wat de output van je scriptje is? MRTG neemt standaard 4 getallen als input. Als je googled kun je er wel achter komen wat waarvoor is. Ik gok dat het groene vlak het eerste getal is en het blauwe lijntje het 2e. De 3e en de 4e zijn de uptime van je systeem en je systeemnaam dacht ik. Dus moet je even onderzoeken wat die getallen bij jou zijn. Als een van die getallen continue 1 is zit daar het probleem in. Misschien dat het omdraaien van de outputs een oplossing is anders? En last but not least, mrtg moet je minimaal 3 keer draaien voor er foutloze output uit komt!
[ Voor 6% gewijzigd door Aike op 16-06-2005 11:02 ]
Mijn blog over het deployen van Ruby on Rails: RunRails.com
MRTG gebruikt (onder windows) deze ID om data uit te lezen.
bijv.
Target[sproetje.nic.lan]: 2:Public@192.168.10.1:
Een keer configmaker draaien om het nieuwe ID te krijgen moet en deze aanpassen in je script moet voldoende zijn.
Of dit onder jouw OS het geval durf ik niet te oordelen maar je kunt wellicht even de configmaker opnieuw draaien.
[ Voor 51% gewijzigd door bgrr op 16-06-2005 11:08 ]
Ik ga het eens proberen door cfgmaker nog eens te laten draaien.
O ja, ik draai MRTG als daemon.
"There are only 10 kinds of people on this world. Those who know binary and those who don't"
Ik heb nu het volgende gedaan: de oude mrtg.cfg heb ik weggehaald en vervolgens volgende commando:
1
| #cfgmaker public@localhost |
Nu lijkt het wel te werken.
Ter referentie: hier is de nieuwe cfg file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
| # Created by
# /usr/bin/cfgmaker public@localhost
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# for Debian
WorkDir: /var/www/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: epimetheus
# Description: Linux epimetheus 2.6.8 #1 Sat Jun 11 22:53:18 CEST 2005 i686
# Contact: matthias
# Location: "my room"
######################################################################
### Interface 1 >> Descr: 'eth0' | Name: '' | Ip: '192.168.0.10' | Eth: '00-e0-7d-98-52-00' ###
Target[localhost_1]: 1:public@localhost:
SetEnv[localhost_1]: MRTG_INT_IP="192.168.0.10" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_1]: 1250000
Title[localhost_1]: Traffic Analysis for 1 -- epimetheus
PageTop[localhost_1]: <h1>Traffic Analysis for 1 -- epimetheus</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>epimetheus in "my room"</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>matthias</td>
</tr>
<tr>
<td>Description:</td>
<td>eth0 </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td></td>
</tr>
<tr>
<td>Max Speed:</td>
<td>1250.0 kBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>192.168.0.10 (epimetheus)</td>
</tr>
</table>
</div>
### Interface 2 >> Descr: 'lo' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[localhost_2]: 2:public@localhost:
# SetEnv[localhost_2]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[localhost_2]: 1250000
# Title[localhost_2]: Traffic Analysis for 2 -- epimetheus
# PageTop[localhost_2]: <h1>Traffic Analysis for 2 -- epimetheus</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>epimetheus in "my room"</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>matthias</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>lo </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>softwareLoopback (24)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td></td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>1250.0 kBytes/s</td>
# </tr>
#
# <tr>
# <td>Ip:</td>
# <td>127.0.0.1 (localhost)</td>
# </tr>
#
# </table>
# </div> |
"There are only 10 kinds of people on this world. Those who know binary and those who don't"
