I have windows_exporter installed and configured. I was able to create an 
alert for when a specific service's state is 0 (ex: for TeamViewer 
application; windows_service_state{name="TeamViewer",state="running"} != 1)

While testing, If I manually navigate to Services and stop the process, I 
get an alert. But simple closing application does not generate an alert as 
the Teamviewer service is running in the backend.

How do I generate alerts if the application is closed? Tried collecting 
process metrics by "--collector.process.whitelist", but no luck there.




-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/1bb27c56-8df9-4322-bbd7-586e8e710ddco%40googlegroups.com.

Reply via email to