Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[inputs.snmp]]
- agents = [ "172.31.254.254:161"]
- version = 2
- community = "public"
- name = "snmp"
- interval = "30s"
- timeout = "10s"
- [[inputs.snmp.field]]
- name = "hostname"
- oid = "SNMPv2-MIB::sysName.0"
- is_tag = true
- [[inputs.snmp.field]]
- name = "uptime"
- oid = "HOST-RESOURCES-MIB::hrSystemUptime.0"
- [[inputs.snmp.field]]
- name = "processes"
- oid = "HOST-RESOURCES-MIB::hrSystemProcesses.0"
- [[inputs.snmp.table]]
- name = "processor"
- inherit_tags = [ "hostname" ]
- oid = "HOST-RESOURCES-MIB::hrProcessorTable"
- [[inputs.snmp.table]]
- name = "storage"
- inherit_tags = [ "hostname" ]
- oid = "HOST-RESOURCES-MIB::hrStorageTable"
- [[inputs.snmp.table.field]]
- name = "storageDescr"
- oid = "HOST-RESOURCES-MIB::hrStorageDescr"
- is_tag = true
Add Comment
Please, Sign In to add comment