Skip to content

Commit

Permalink
Merge pull request #3 from network-automate/dev_titom73
Browse files Browse the repository at this point in the history
Add HW report
  • Loading branch information
titom73 authored Jan 10, 2019
2 parents c1681c8 + a06064a commit 4b52a3f
Show file tree
Hide file tree
Showing 4 changed files with 531 additions and 47 deletions.
38 changes: 38 additions & 0 deletions configs/telegraf-snmp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,44 @@
name = "sysObjectID"
oid = ".1.3.6.1.2.1.1.2.0"

[[inputs.snmp.field]]
name = "jnxBoxSerialNo"
oid="JUNIPER-MIB::jnxBoxSerialNo.0"

[[inputs.snmp.field]]
name = "jnxBoxDescr"
oid="JUNIPER-MIB::jnxBoxDescr.0"

[[inputs.snmp.field]]
name = "jnxHwFamily"
oid="JUNIPER-MIB::jnxBoxDescr.0"
is_tag = true

[[inputs.snmp.field]]
name = "jnxBoxInstalled"
oid="JUNIPER-MIB::jnxBoxInstalled.0"

[[inputs.snmp.field]]
name = "jnxVirtualChassisMemberSWVersion"
oid="JUNIPER-VIRTUALCHASSIS-MIB::jnxVirtualChassisMemberSWVersion.0"

[[inputs.snmp.field]]
name = "jnxSoftwareVersion"
oid="JUNIPER-VIRTUALCHASSIS-MIB::jnxVirtualChassisMemberSWVersion.0"
is_tag = true

[[inputs.snmp.table]]
name = "hw_anatomy"
inherit_tags = [ "hostname" ]
oid = "JUNIPER-MIB::jnxOperatingTable"
[[inputs.snmp.table.field]]
name = "jnxOperatingChassisDescr"
oid = "JUNIPER-MIB::jnxOperatingChassisDescr"
is_tag = true

[[inputs.snmp.field]]
name = "sysHostname"
oid = ".1.3.6.1.2.1.1.5.0"

[[inputs.snmp.table]]
name = "bgp_statistics"
Expand Down
Loading

0 comments on commit 4b52a3f

Please sign in to comment.