newrelic / nri-winservices

Windows services Integration for New Relic Infrastructure
Apache License 2.0
8 stars 8 forks source link

Services with "state" NULL #111

Closed philhub82 closed 2 years ago

philhub82 commented 2 years ago

Services showing up with "state=NULL" instead of "running" FROM Metric SELECT count(*) WHERE start_mode='auto' FACET service_name, hostname, state

philhub82 commented 2 years ago

I had contact with support and they told me the following: count() and uniqueCount() will never return a value of 0 (explained here: https://discuss.newrelic.com/t/relic-solution-how-can-i-figure-out-when-to-use-gap-filling-and-loss-of-signal/120401). So the easiest is, to configure a LoS (Loss of Signal) to close Incidents that do not report the error anymore. I tried it and it worked fine in my case.