Ik wil dus even meten hoeveel KB er cumulatief over mijn eth0 gaat.
Een klein progje gevonden (http://www.dynw.com/iog/), maar nu moet ik dus enkele waardes in dat configuratie-bestand invullen, alleen heb ik geen flauw benul wat ze nu bedoelen:
Kijk, hostname en community gaat nog wel, maar wat moet ik invullen bij al die OID's als ik mijn eth0 wil 'monitoren'??
Een klein progje gevonden (http://www.dynw.com/iog/), maar nu moet ik dus enkele waardes in dat configuratie-bestand invullen, alleen heb ik geen flauw benul wat ze nu bedoelen:
code:
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
| [root@anaconda iog-1.0]# cat iog.cfg # IOG - Host configuration file # # format: # [name:hostname:community:uptimeOID:uptimedatapath] # name:hostname:community:inOID:outOID:path # # name - name of system (used for file names) # hostname - hostname or IP of switch/host # community - community string for switch/host # inOID - the in octets OID in the format of ifInOctets.# or # ifHCInOctets.# for SNMPv2c 64-bit counters. # outOID - the out octets OID in the format of ifOutOctets.# or # ifHCOutOctets.# for SNMPv2c 64-bit counters. # uptimeOID - either sysUpTime.0 (cisco) or sysUpTime # path - the path where all files will be stored. # uptimedatapath - path to keep data file for host uptime info. # # ex.: # [switch1:192.168.0.10:public:sysUpTime.0:/www/snmp] # sw1-port1:192.168.0.10:public:ifInOctets.1:ifOutOctets.1:/www/snmp/ # sw1-port2:192.168.0.10:public:ifInOctets.2:ifOutOctets.2:/www/snmp/ # # [switch2:192.168.0.11:public:sysUpTime:/www/snmp] # sw2-port20:192.168.0.11:public:ifHCInOctets.20:ifHCOutOctets.20:/www/snmp/ # |
Kijk, hostname en community gaat nog wel, maar wat moet ik invullen bij al die OID's als ik mijn eth0 wil 'monitoren'??
[ Voor 1% gewijzigd door DPLuS op 09-02-2003 03:33 . Reden: typo ]