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?
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
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.