Skip to content

Commit

Permalink
Fortigate LTE sensor addition (librenms#13977)
Browse files Browse the repository at this point in the history
* Update Fortigate OS model to include 4G/LTE stats

* Add Fortigate 60F_3G4G test data

* zero interface counters in fortigate_60f3g4g.snmprec
  • Loading branch information
slimey99uk authored May 11, 2022
1 parent cd114b8 commit 7b08a58
Show file tree
Hide file tree
Showing 4 changed files with 14,634 additions and 3,615 deletions.
38 changes: 38 additions & 0 deletions includes/definitions/discovery/fortigate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ modules:
states:
- { value: 1, descr: Disabled, graph: 1, generic: 3 }
- { value: 2, descr: Enabled, graph: 1, generic: 0 }

-
oid: fdLteSessConnStat
num_oid: '.1.3.6.1.4.1.12356.101.19.5.1.1.4.{{ $index }}'
index: 'fdLteSessConnStat.{{ $index }}'
descr: "LTE Session Status"
group: LTE Modem
value: fdLteSessConnStat
states:
- { value: 0, descr: Unknown, graph: 1, generic: 3 }
- { value: 1, descr: Disconnected, graph: 1, generic: 2 }
- { value: 2, descr: Connected, graph: 1, generic: 0 }
- { value: 3, descr: Suspended, graph: 1, generic: 2 }
- { value: 4, descr: Authenticating, graph: 1, generic: 1 }

count:
data:
-
Expand All @@ -84,3 +99,26 @@ modules:
group: VPN


signal:
data:
-
oid: fgSignalInfoTable
value: fgWcdmaRssi
num_oid: '.1.3.6.1.4.1.12356.101.19.3.1.1.9.{{ $index }}'
descr: 'LTE Modem WCDMA RSSI'
index: 'fgWcdmaRssi.{{ $index }}'
low_limit: -100
low_warn_limit: -86
warn_limit: -40
high_limit: -30
-
oid: fgSignalInfoTable
value: fgLteRssi
num_oid: '.1.3.6.1.4.1.12356.101.19.3.1.1.11.{{ $index }}'
descr: 'LTE Modem LTE RSSI'
index: 'fgLteRssi.{{ $index }}'
low_limit: -95
low_warn_limit: -85
warn_limit: -30
high_limit: -20

Loading

0 comments on commit 7b08a58

Please sign in to comment.