psinfluxdb 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package psinfluxdb --version 0.2.0                
NuGet\Install-Package psinfluxdb -Version 0.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="psinfluxdb" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add psinfluxdb --version 0.2.0                
#r "nuget: psinfluxdb, 0.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install psinfluxdb as a Cake Addin
#addin nuget:?package=psinfluxdb&version=0.2.0

// Install psinfluxdb as a Cake Tool
#tool nuget:?package=psinfluxdb&version=0.2.0                

psinflux

PowerShell module for interaction to InfluxDB1 (using REST API).
By default GET requests give line-by output. This module is used to automate the query form and output in object format.
Only GET requests.

Import

PS C:\Users\Lifailon> Import-Module psinfluxdb
PS C:\Users\Lifailon> Get-Command -Module psinfluxdb

CommandType     Name                  Version    Source
-----------     ----                  -------    ------
Function        Get-InfluxChart       0.2        psinfluxdb
Function        Get-InfluxData        0.2        psinfluxdb
Function        Get-InfluxDatabases   0.2        psinfluxdb
Function        Get-InfluxTables      0.2        psinfluxdb
Function        Get-InfluxUsers       0.2        psinfluxdb

Examples:

PS C:\Users\Lifailon> Get-InfluxUsers -ip 192.168.3.104

user  admin
----  -----
admin True
root  True
read  False
PS C:\Users\Lifailon> Get-InfluxDatabases -ip 192.168.3.104

_internal
powershell
PS C:\Users\Lifailon> Get-InfluxTables -ip 192.168.3.104 -database powershell

performance
ping
speedtest
PS C:\Users\Lifailon> Get-InfluxData -ip 192.168.3.104 -database powershell -table ping | ft

time                host            rtime status
----                ----            ----- ------
07/08/2023-15:16:24 HUAWEI-MB-X-Pro 22    True
07/08/2023-15:16:29 HUAWEI-MB-X-Pro 20    True
07/08/2023-15:16:35 HUAWEI-MB-X-Pro 20    True
07/08/2023-15:16:41 HUAWEI-MB-X-Pro 20    True
07/08/2023-15:16:51 HUAWEI-MB-X-Pro 0     False
07/08/2023-15:17:06 HUAWEI-MB-X-Pro 32    True
07/08/2023-15:17:16 HUAWEI-MB-X-Pro 22    True
07/08/2023-15:17:27 HUAWEI-MB-X-Pro 20    True
07/08/2023-15:17:37 HUAWEI-MB-X-Pro 20    True
07/08/2023-15:17:47 HUAWEI-MB-X-Pro 21    True
...

Image alt

Chart (version 0.2)

The Grafana alternative (used WinForms)
Source: https://webnote.satin-pl.com/2019/04/03/posh_influxdb_query

$influx = Get-InfluxData -ip 192.168.3.104 -database powershell -table speedtest
Get-InfluxChart -time ($influx.time) -data ($influx.download) -title "SpeedTest Download" -path "C:\Users\Lifailon\Desktop"

Image alt

Get-InfluxChart -time ($influx.time) -data ($influx.upload) -title "SpeedTest Upload" -path "C:\Users\Lifailon\Desktop"

Image alt

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 193 2/3/2024
0.2.0 179 2/3/2024