This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
app-notes:status-sdk-influxdb [2023/10/31 14:42] – [Configuration] dodenhoeft | app-notes:status-sdk-influxdb [2024/01/29 13:00] – [status2influx script] dodenhoeft | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Status | + | ====== Status to InfluxDB ====== |
This Wiki Page describes how to use our SDK functionality to monitor current status value into external Database(influxdb). It allows you to get more connectivtiy into you network infrastructor. This can be used for all netmodule routers. | This Wiki Page describes how to use our SDK functionality to monitor current status value into external Database(influxdb). It allows you to get more connectivtiy into you network infrastructor. This can be used for all netmodule routers. | ||
Line 10: | Line 10: | ||
* NetModule Wireless Router with any WAN connection | * NetModule Wireless Router with any WAN connection | ||
* NRSW [[http:// | * NRSW [[http:// | ||
+ | * Not available for legacy products NB1600, NB2700, NB3700, NB3710 | ||
===== Concept ===== | ===== Concept ===== | ||
+ | {{: | ||
- | There are a few concepts | + | Netmodule routers provide several service status values via cli. We are going to send those informations |
+ | |||
+ | ===== SDK scripting ===== | ||
+ | All information about SDK can be found [[sdk: | ||
===== InfluxDB ===== | ===== InfluxDB ===== | ||
Line 20: | Line 25: | ||
You can easily register at https:// | You can easily register at https:// | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | All guidance | + | All guiding |
==== InfluxDB ==== | ==== InfluxDB ==== | ||
Line 41: | Line 46: | ||
==== Netmodule router ==== | ==== Netmodule router ==== | ||
=== 1. Allow https connections === | === 1. Allow https connections === | ||
- | Netmodule routers do not allow https connections by default. Therefor you need to upload the Root CA R3 chain from the influxdb SSL Certificate. You can easily download the cert chain with the following steps: | + | To send the data via TLS/SSL we need to add the domian certifcate to the netmodule router. Therefor you need to upload the Root CA R3 chain from the influxdb SSL Certificate. You can easily download the cert chain with the following steps: |
{{: | {{: | ||
Line 60: | Line 65: | ||
==== status2influx script ==== | ==== status2influx script ==== | ||
- | |||
<code c status2influx.are> | <code c status2influx.are> | ||
*/ DESC: This script is sendinf the current cli WWAN infos to a external InfluxDB | */ DESC: This script is sendinf the current cli WWAN infos to a external InfluxDB | ||
* created by [TD] 24.9.2023 | * created by [TD] 24.9.2023 | ||
- | */ Copyright (C) 2013-2022) NetModule AG, Switzerland | + | * Copyright (C) (2013-2024) NetModule AG, Switzerland |
+ | */ | ||
url = " | url = " | ||
usr = ""; | usr = ""; |