newrelic / nri-winservices

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

Incident does not close after Service gets restarted #104

Closed philhub82 closed 2 years ago

philhub82 commented 2 years ago

If I get an Alarm from this NRQL condition, it stays open even if the Service starts again.

FROM Metric SELECT count(*) WHERE windowsService.startMode='auto' AND windowsService.state IS NOT NULL AND windowsService.state !='running' FACET windowsService.entityName, windowsService.hostname , windowsService.name, windowsService.state, windowsService.startMode

For me it looks like the Service has a new ID and does not correspond to the Service that was stopped.

carlossscastro commented 2 years ago

Hi @philhub82,

Apologies for the delay in answering this. I'm closing this one out, since it seems our Technical Support got that sorted out for you.

Rg,