File: iog.cfg

package info (click to toggle)
iog 1.03-3.6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 288 kB
  • ctags: 176
  • sloc: perl: 1,900; sh: 50; makefile: 38; php: 24
file content (32 lines) | stat: -rw-r--r-- 1,319 bytes parent folder | download | duplicates (4)
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
# IOG - Host configuration file
#
# format:
# [name:hostname:community:uptimeOID:uptimedatapath]
# name:hostname:community:inOID:outOID:path
#
# name - name of system (used for file names, use a valid unix file name)
# hostname - hostname or IP of switch/host
# community - community string for switch/host
# inOID - the in octets OID in the format of ifInOctets.# or
#               use ifHCInOctets.# for SNMPv2c 64-bit counters.
# outOID - the out octets OID in the format of ifOutOctets.# or
#               use 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.
#
# *IMPORTANT*: You must select the proper sysUpTime value for your
# device otherwise problems will arrive when these devices reboot.
#
# ex.:
# [switch1:192.168.0.10:public:sysUpTime.0:/www/iog]
# sw1-port1:192.168.0.10:public:ifInOctets.1:ifOutOctets.1:/www/iog/
# sw1-port2:192.168.0.10:public:ifInOctets.2:ifOutOctets.2:/www/iog/
#
# [switch2:192.168.0.11:public:sysUpTime:/www/iog]
# sw2-port20:192.168.0.11:public:ifHCInOctets.20:ifHCOutOctets.20:/www/iog/
#
[localhost:127.0.0.1:public:sysUpTime.0:/var/lib/iog]
localhost:127.0.0.1:public:ifInOctets.2:ifOutOctets.2:/var/lib/iog