-
Notifications
You must be signed in to change notification settings - Fork 14
/
telegraf.conf
69 lines (56 loc) · 1.5 KB
/
telegraf.conf
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
[[inputs.snmp]]
agents = ["udp://IP-dari-OLT:161"]
version = 2
community = "***rahasia***"
[[inputs.snmp.field]]
name = "hostname"
oid = "RFC1213-MIB::sysName.0"
is_tag = true
#[[inputs.snmp.table]]
# name = "fantable"
# oid = "ZXGPON-SERVICE-MIB::zxEnterpriseMib.1015.2.1.3.10.10.10.1.7"
# index_as_tag = true
# [[inputs.snmp.table.field]]
# name = "fantsatu"
# oid = "1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7.2"
# is_tag = true
[[inputs.snmp.field]]
name = "uptime"
oid = "RFC1213-MIB::sysUpTime.0"
[[inputs.snmp.table]]
name = "vlan"
oid = "Q-BRIDGE-MIB::dot1qVlanStaticTable"
index_as_tag = true
[[inputs.snmp.table.field]]
oid = "Q-BRIDGE-MIB::dot1qVlanStaticName"
name = "vlan_name"
is_tag = true
[[inputs.snmp.table]]
name = "gpon"
oid = "IF-MIB::ifXTable"
index_as_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifName"
name = "nama_interface"
is_tag = true
[[inputs.snmp.table]]
name = "interfaces"
oid = "IF-MIB::ifTable"
inherit_tags = ["source"]
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifDescr"
name = "nama_interface"
is_tag = true
[[inputs.snmp.table]]
name = "ontstatus"
oid = "ZXGPON-SERVICE-MIB::zxGponOntStateTable"
index_as_tag = true
[[inputs.snmp.table.field]]
oid = "ZXGPON-SERVICE-MIB::zxGponOntStateEntry"
name = "statusont"
is_tag = true
[[outputs.influxdb]]
database = "telegrafku"
urls = [ "http://127.0.0.1:8086" ]
username = "***rahasia***"
password = "***rahasia***"