Fetches snmp data into rrd files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

103 lines
2.9 KiB

[global]
logfile snmp2rrd.log
pidfile snmp2rrd.pid
rrd_dir rrd
interval 10
hosttype es2024
porttype es2024port
#host ES-2024,es2024,172.16.250.101:161,public
#host ES-2024A,es2024,172.16.250.102:161,public
#host GS-1524,es2024,172.16.250.103:161,public
#host XGS-4528,xgs4528,172.16.250.104:161,public
hosttype xgs4528
porttype xgs4528port
host Router01,xgs4528,172.16.250.1,public
host Router02,xgs4528,172.16.250.2,public
host Router03,xgs4528,172.16.250.10,public
host Router04,xgs4528,172.16.250.18,public
host Router05,xgs4528,172.16.250.26,public
host Router06,xgs4528,172.16.250.34,public
host Router07,xgs4528,172.16.250.42,public
host Router08,xgs4528,172.16.240.253,public
host Router09,xgs4528,172.16.240.251,public
host Router10,xgs4528,172.16.240.252,public
[hosttype_es2024]
port port01,es2024port,1
port port02,es2024port,2
port port03,es2024port,3
port port04,es2024port,4
port port05,es2024port,5
port port06,es2024port,6
port port07,es2024port,7
port port08,es2024port,8
port port09,es2024port,9
port port10,es2024port,10
port port11,es2024port,11
port port12,es2024port,12
port port13,es2024port,13
port port14,es2024port,14
port port15,es2024port,15
port port16,es2024port,16
port port17,es2024port,17
port port18,es2024port,18
port port19,es2024port,19
port port20,es2024port,20
port port21,es2024port,21
port port22,es2024port,22
port port23,es2024port,23
port port24,es2024port,24
[porttype_es2024port]
value IF-MIB::ifInOctets,DS:rx:COUNTER:90:0:U
value IF-MIB::ifOutOctets,DS:tx:COUNTER:90:0:U
value IF-MIB::ifSpeed,DS:speed:GAUGE:90:0:U
# 6h(10s) 2d(60s) 10d(5min)
rra RRA:MIN:0.5:1:2160 RRA:AVERAGE:0.5:1:2160 RRA:MAX:0.5:1:2160
rra RRA:MIN:0.5:6:2880 RRA:AVERAGE:0.5:6:2880 RRA:MAX:0.5:1:2880
rra RRA:MIN:0.5:30:2880 RRA:AVERAGE:0.5:30:2880 RRA:MAX:0.5:30:2880
[hosttype_xgs4528]
port port01,xgs4528port,1
port port02,xgs4528port,2
port port03,xgs4528port,3
port port04,xgs4528port,4
port port05,xgs4528port,5
port port06,xgs4528port,6
port port07,xgs4528port,7
port port08,xgs4528port,8
port port09,xgs4528port,9
port port10,xgs4528port,10
port port11,xgs4528port,11
port port12,xgs4528port,12
port port13,xgs4528port,13
port port14,xgs4528port,14
port port15,xgs4528port,15
port port16,xgs4528port,16
port port17,xgs4528port,17
port port18,xgs4528port,18
port port19,xgs4528port,19
port port20,xgs4528port,20
port port21,xgs4528port,21
port port22,xgs4528port,22
port port23,xgs4528port,23
port port24,xgs4528port,24
port port25,xgs4528port,25
port port26,xgs4528port,26
port port27,xgs4528port,27
port port28,xgs4528port,28
[porttype_xgs4528port]
value IF-MIB::ifHCInOctets,DS:rx:COUNTER:90:0:U
value IF-MIB::ifHCOutOctets,DS:tx:COUNTER:90:0:U
value IF-MIB::ifSpeed,DS:speed:GAUGE:90:0:U
# 6h(10s) 2d(60s) 10d(5min)
rra RRA:MIN:0.5:1:2160 RRA:AVERAGE:0.5:1:2160 RRA:MAX:0.5:1:2160
rra RRA:MIN:0.5:6:2880 RRA:AVERAGE:0.5:6:2880 RRA:MAX:0.5:1:2880
rra RRA:MIN:0.5:30:2880 RRA:AVERAGE:0.5:30:2880 RRA:MAX:0.5:30:2880