Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial support for teltonika #10059

Merged
merged 5 commits into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added html/images/os/teltonika.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions includes/definitions/discovery/rutos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
mib: TELTONIKA-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- Operator
temperature:
data:
-
oid: Temperature
value: Temperature
num_oid: '.1.3.6.1.4.1.48690.2.9.{{ $index }}'
descr: system
index: 'Temperature.{{ $index }}'
divisor: 10

state:
data:
-
oid: PinState
value: PinState
num_oid: '.1.3.6.1.4.1.48690.2.2.{{ $index }}'
descr: Pinstate
index: 'PinState.{{ $index }}'
state_name: Pinstate
states:
- { descr: READY , graph: 0, value: 0, generic: 0 }
- { descr: not READY, graph: 0, value: 1, generic: 2 }

-
oid: ConnectionState
value: ConnectionState
num_oid: '.1.3.6.1.4.1.48690.2.7.{{ $index }}'
descr: "{{ $Operator }}"
index: 'ConnectionState.{{ $index }}'
state_name: ConnectionState
states:
- { descr: connected , graph: 0, value: 0, generic: 0 }
- { descr: not connected, graph: 0, value: 1, generic: 2 }

-
oid: ConnectionType
value: ConnectionType
num_oid: '.1.3.6.1.4.1.48690.2.8.{{ $index }}'
descr: "{{ $Operator }}"
index: 'ConnectionType.{{ $index }}'
state_name: ConnectionType
states:
- { descr: LTE , graph: 0, value: 0, generic: 0 }
- { descr: 3G, graph: 0, value: 1, generic: 2 }
- { descr: 2G, graph: 0, value: 2, generic: 2 }


dbm:
data:
-
oid: Signal
value: Signal
num_oid: '.1.3.6.1.4.1.48690.2.4.{{ $index }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: 'Signal'
descr: 'signal'
index: 'Signal.{{ $index }}'


28 changes: 28 additions & 0 deletions includes/definitions/rutos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
os: rutos
type: network
group: unix
text: 'teltonika rutos'
icon: teltonika
ifXmcbc: true
ifname: true
over:
- { graph: device_processor, text: 'Processor Usage' }
- { graph: device_ucd_memory, text: 'Memory Usage' }
- { graph: device_storage, text: 'Storage Usage' }
poller_modules:
bgp-peers: false
ospf: false
stp: false
discovery_modules:
applications: false
bgp-peers: false
stp: false
vmware-vminfo: false
libvirt-vminfo: false
processor_stacked: true
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.8072.3.2.10
sysDescr_regex:
- '/ Teltonika/'
Loading