/
SNMP Configure
SNMP Configure
SNMP를 통해 네트워크 장비 혹은 SNMP를 지원하는 기타 장비에 대한 성능 지표를 수집할 수 있습니다.
아래는 SNMP에 대한 CH Collector(Telegraf)예시이며, 적절한 IP 혹은 도메인으로 바꿔서 사용해야 합니다.
자세한 사용법은 Telegraf 공식 가이드: SNMP를 참조합니다.
IF-MIB 정보: https://mibs.observium.org/mib/IF-MIB/
전체 MIB 데이터베이스: https://mibs.observium.org/
[[inputs.snmp]]
agents = [ "10.10.250.2:161" ]
interval = "1m"
timeout = "15s"
retries = 3
version = 2
community = "S2F_Center_RO"
max_repetitions = 3
name = "snmp_nx"
[[inputs.snmp.field]]
oid = "RFC1213-MIB::sysUpTime.0"
name = "uptime"
# oid에 없는 장비도 있으니, 확인 필요
[[inputs.snmp.field]]
name = "cpu_utilization"
oid = ".1.3.6.1.4.1.9.9.109.1.1.1.1.5.1"
[[inputs.snmp.field]]
name = "mem_utilization"
oid = ".1.3.6.1.4.1.9.9.48.1.1.1.5.16"
[[inputs.snmp.field]]
name = "cpu_5sec"
oid = "SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.6.19"
[[inputs.snmp.field]]
name = "cpu_1min"
oid = "SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.19"
[[inputs.snmp.field]]
name = "mem_used"
oid = "SNMPv2-SMI::enterprises.9.9.48.1.1.1.5.1"
[[inputs.snmp.field]]
name = "mem_free"
oid = "SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1"
[[inputs.snmp.table]]
oid = "IF-MIB::ifTable"
name = "snmp_nx"
inherit_tags = [ "source" ]
[[inputs.snmp.table.field]]
# 32bit counter
oid = "IF-MIB::ifIndex"
name = "ifIndex"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifDescr"
name = "ifDescr"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifName"
name = "ifName"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifAlias"
name = "ifAlias"
is_tag = true
[[inputs.snmp.table]]
# 64bit counter
oid = "IF-MIB::ifXTable"
name = "snmp_nx"
inherit_tags = [ "source" ]
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifIndex"
name = "ifIndex"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifDescr"
name = "ifDescr"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifName"
name = "ifName"
is_tag = true
[[inputs.snmp.table.field]]
oid = "IF-MIB::ifAlias"
name = "ifAlias"
is_tag = true
, multiple selections available,
Related content
Introduction
Introduction
Read with this
Telegraf Configuration
Telegraf Configuration
More like this
Administrator's Guides
Administrator's Guides
Read with this
Quick Installation Guide on Server node
Quick Installation Guide on Server node
Read with this