Skip to content

Commit

Permalink
fix: use snmp_exporter >v0.23.0 config format
Browse files Browse the repository at this point in the history
Signed-off-by: gardar <[email protected]>
  • Loading branch information
gardar committed Aug 21, 2023
1 parent 26cba01 commit 3d817bd
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions roles/snmp_exporter/molecule/alternative/templates/snmp.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
if_mib:
modules:
if_mib:
get:
- 1.3.6.1.2.1.1.3.0
- 1.3.6.1.2.1.1.3.0
metrics:
- name: sysUpTime
oid: 1.3.6.1.2.1.1.3
type: gauge
help: The time (in hundredths of a second) since the network management portion
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
- name: sysUpTime
oid: 1.3.6.1.2.1.1.3
type: gauge
help: The time (in hundredths of a second) since the network management portion
of the system was last re-initialized. - 1.3.6.1.2.1.1.3

0 comments on commit 3d817bd

Please sign in to comment.