CyberEntomology

Telegraf SNMP config for pfSense

May 22nd, 2020
958
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. [[inputs.snmp]]
  2. agents = [ "172.31.254.254:161"]
  3. version = 2
  4. community = "public"
  5. name = "snmp"
  6. interval = "30s"
  7. timeout = "10s"
  8.  
  9. [[inputs.snmp.field]]
  10. name = "hostname"
  11. oid = "SNMPv2-MIB::sysName.0"
  12. is_tag = true
  13.  
  14. [[inputs.snmp.field]]
  15. name = "uptime"
  16. oid = "HOST-RESOURCES-MIB::hrSystemUptime.0"
  17.  
  18. [[inputs.snmp.field]]
  19. name = "processes"
  20. oid = "HOST-RESOURCES-MIB::hrSystemProcesses.0"
  21.  
  22. [[inputs.snmp.table]]
  23. name = "processor"
  24. inherit_tags = [ "hostname" ]
  25. oid = "HOST-RESOURCES-MIB::hrProcessorTable"
  26.  
  27.  
  28. [[inputs.snmp.table]]
  29. name = "storage"
  30. inherit_tags = [ "hostname" ]
  31. oid = "HOST-RESOURCES-MIB::hrStorageTable"
  32.  
  33. [[inputs.snmp.table.field]]
  34. name = "storageDescr"
  35. oid = "HOST-RESOURCES-MIB::hrStorageDescr"
  36. is_tag = true
Add Comment
Please, Sign In to add comment