Working with Windows server 2016 and sending metrics to Grafana 8.
I’m using telegraf plugin which is supposed to monitor windows services. Not set any particular ones yet so it would account for all but once set I’ll be limiting to probably a dozen.
I’m not sure what would be the best layout for monitoring services state over time,trying State Timeline, so like when status changes from Running to Stopped or Stop Pending.
I can see I can select State in query editor but unsure what aggregator to use with that. Can someone help please setting this up?
The above looks great. Exactly what I’m after. How is it CSV though? What type of visualisation is this? I can’t find anything with Type or Data in query editor. My data sample looks like this
Cool. This is State Timeline viz. Well that csv is just a sample since we do not have access to your datasource hence we cannot guess what is in your datasource. What is your final telegraf data ingest destination, your datasource?
That’s the default telegraf sends. When I look at Grafana’s end all I can select is state and startup_mode. Sorry if I’m talking rubbish but it’s all quite new to me so just saying what I’m seeing.
Here is how telegraf defines the win_services plugin
Yep that’s the one, except I removed all for starters to have all services listed and in Query editor indeed I can add an AND clause and select service_name =
Your first example was very good showing when a given service was in Running and where in other state over time. For telegraf it looks like 4 is for running, 1 for stopped and 3 for stop pending which states I see most the time. Anything other than running should be considered bad.