GithubHelp home page GithubHelp logo

r4yfx / wsus-grafana Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 5.0 179 KB

Windows Server Update Services to telegraf - influxdb - grafana

License: GNU General Public License v3.0

PowerShell 100.00%

wsus-grafana's People

Contributors

r4yfx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wsus-grafana's Issues

Telegraf not collecting data

Hey,

Thanks for the work youve done on this!

I am unable to get this to work though. Im not sure if its something to do with the newer versions of Influx and Telegraf or something else entirely

Telegraf does not seem to collect any data from the script.

Running the wsus-stats.ps1 script manually brings results (in the powershell window), but telegraf just sits with:
I! [agent] Config: Interval:5s, Quiet:false, Hostname:"sanitized", Flush Interval:10s

No other entries and no data sent

Data are not rounded

Hi, i put wsus on a windows server 2019 std and the stats are not rounded :
My powershell result :

wsusstats,host=wsus windows10=302 1656667449000000000
wsusstats,host=wsus windows11=0 1656667449000000000
wsusstats,host=wsus windows2019st=11 1656667449000000000
wsusstats,host=wsus windows2016=0 1656667449000000000
wsusstats,host=wsus criticalupdates=0 1656667449000000000
wsusstats,host=wsus updates=0 1656667449000000000
wsusstats,host=wsus sp=0 1656667449000000000
wsusstats,host=wsus numberofclients=315 1656667449000000000
wsusstats,host=wsus requpdates=95 1656667449000000000
wsusstats,host=wsus failed=5 1656667449000000000
wsusstats,host=wsus reqreboot=29 1656667449000000000

My grafana dashboard:
image
My dashboard code :
SELECT mean("windows2019st") FROM "wsusstats" WHERE ("host" = 'wsus') AND $timeFilter GROUP BY time($__interval) fill(null)
SELECT mean("windows10") FROM "wsusstats" WHERE ("host" = 'wsus') AND $timeFilter GROUP BY time($__interval) fill(null)
Any idea?

WSUS with Downstream servers

Hello
I have a centralized WSUS server which is connected with a few downstream servers. When I open the console of the centralized WSUS server I see all the clients which are connected directly on the centralized WSUS server and also all clients which are connected on the downstream WSUS servers.

If I execute the script, the output shows me only the WSUS client registered on the centralized WSUS servers itselfs. All WSUS clients which are connect on a downstream server will not be listed.

I want to have an output with all WSUS clients (centralized and downstream) through a query on the centralized WSUS server. Is this possible?

WSUS on Windows Server 2019

Hi, is the script compatible with Windows Server 2019?
I installed everything but no data in Grafana or InfluxDB.

I installed Docker on Windows VM with WSL2 and all requierments.
Grafana is installed local and not with a container.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.