newrelic / nri-winservices

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

Agent Not Reporting Service Status #43

Closed Tomthi closed 3 years ago

Tomthi commented 4 years ago

[NOTE]: # I updated the infrastructure agent and I am not able to find the status of the service I'm trying to monitor.

Description

The infra agent was updated and the windows service name was added to the winservice-config.yml in the

Section

include_matching_entities:
    windowsService.name:
        - "MyServiceName"

Restarted the agent service.

Expected Behavior

I should be able to run the query to at lest see the status of the service

SELECT count(*) FROM Metric WHERE metricName = 'windowsService.service.state' AND windowsService.state = 'running' AND windowsService.name = 'MyServiceName' FACET windowsService.entityName

Also in the cart builder, this does not seem to be available. Predictive text isn't working or recognizing windosSerivce

FROM Metric SELECT windowsService

NR Diag results

None

Steps to Reproduce

  1. Update Agent
  2. edit winservice-config.yml to include service name.
  3. Restart infra agent service
  4. Query dataset

Your Environment

AWS ec2 instances on Windows 2016

Additional context

paologallinaharbur commented 3 years ago

Hello @Tomthi, are you part of the beta program? If not I believe your issue is similar to #44

On the other hand, if you joined and still you have issues:

gsanchezgavier commented 3 years ago

@Tomthi let us know if the issue persist