bug(agent): agent still attempting to perform health checks #770

Closed
opened 2026-03-28 04:28:22 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #2351
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2351
Original created: 2026-01-18T10:09:51Z


Describe the bug

{"level":"info","component":"agent","service":"snmp","address":"serviceradar-snmp-checker:50054","attempt":1,"maxRetries":3,"time":"2026-01-18T10:07:16Z","message":"Connecting to service"}                                                                                                                                                                                          {"level":"info","component":"agent","service":"snmp","time":"2026-01-18T10:07:16Z","message":"Connected successfully"}                                                                     {"level":"error","component":"agent","error":"health check failed: health check failed: all 3 retries failed: rpc error: code = Unavailable desc = name resolver error: produced zero addresses","service":"snmp","healthy":false,"time":"2026-01-18T10:07:19Z","message":"Health check failed"}
{"level":"info","component":"agent","service":"snmp","time":"2026-01-18T10:09:52Z","message":"Connected successfully"}                                                                     {"level":"error","component":"agent","error":"health check failed: health check failed: all 3 retries failed: rpc error: code = Unavailable desc = name resolver error: produced zero addresses","service":"snmp","healthy":false,"time":"2026-01-18T10:09:55Z","message":"Health check failed"}                                                                                      {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:09:55Z","message":"Successfully pushed status to gateway"}                                                      {"level":"info","component":"agent","time":"2026-01-18T10:09:55Z","message":"Successfully streamed sysmon metrics to gateway"}                                                             {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:09:55Z","message":"GetSweepResults called"}                                                                   {"level":"info","component":"agent","time":"2026-01-18T10:10:25Z","message":"Fetching sweep status"}                                                                                       {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:10:25Z","message":"Successfully pushed status to gateway"}                                                      {"level":"info","component":"agent","time":"2026-01-18T10:10:25Z","message":"Successfully streamed sysmon metrics to gateway"}                                                             {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:10:25Z","message":"GetSweepResults called"}                                                                   {"level":"info","component":"agent","time":"2026-01-18T10:10:55Z","message":"Fetching sweep status"}                                                                                       {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:10:55Z","message":"Successfully pushed status to gateway"}                                                      {"level":"info","component":"agent","time":"2026-01-18T10:10:55Z","message":"Successfully streamed sysmon metrics to gateway"}                                                             {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:10:55Z","message":"GetSweepResults called"}                                                                   {"level":"info","component":"agent","time":"2026-01-18T10:11:25Z","message":"Fetching sweep status"}                                                                                       {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:11:25Z","message":"Successfully pushed status to gateway"}                                                      {"level":"info","component":"agent","time":"2026-01-18T10:11:25Z","message":"Successfully streamed sysmon metrics to gateway"}                                                             {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:11:25Z","message":"GetSweepResults called"}                                                                   {"level":"info","component":"agent","time":"2026-01-18T10:11:55Z","message":"Fetching sweep status"}                                                                                       {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:11:55Z","message":"Successfully pushed status to gateway"}
{"level":"info","component":"agent","time":"2026-01-18T10:11:55Z","message":"Successfully streamed sysmon metrics to gateway"}
{"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:11:55Z","message":"GetSweepResults called"}

Why are we calling GetSweepResults? should be PushSweepResults

serviceradar-agent shouldn't be trying to reach out to anything anymore, it just pushes status up, and maybe eventually, might also run a server to accept connections from external checkers, but it definitely shouldn't be polling other checkers anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2351 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2351 Original created: 2026-01-18T10:09:51Z --- **Describe the bug** ``` {"level":"info","component":"agent","service":"snmp","address":"serviceradar-snmp-checker:50054","attempt":1,"maxRetries":3,"time":"2026-01-18T10:07:16Z","message":"Connecting to service"} {"level":"info","component":"agent","service":"snmp","time":"2026-01-18T10:07:16Z","message":"Connected successfully"} {"level":"error","component":"agent","error":"health check failed: health check failed: all 3 retries failed: rpc error: code = Unavailable desc = name resolver error: produced zero addresses","service":"snmp","healthy":false,"time":"2026-01-18T10:07:19Z","message":"Health check failed"} ``` ``` {"level":"info","component":"agent","service":"snmp","time":"2026-01-18T10:09:52Z","message":"Connected successfully"} {"level":"error","component":"agent","error":"health check failed: health check failed: all 3 retries failed: rpc error: code = Unavailable desc = name resolver error: produced zero addresses","service":"snmp","healthy":false,"time":"2026-01-18T10:09:55Z","message":"Health check failed"} {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:09:55Z","message":"Successfully pushed status to gateway"} {"level":"info","component":"agent","time":"2026-01-18T10:09:55Z","message":"Successfully streamed sysmon metrics to gateway"} {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:09:55Z","message":"GetSweepResults called"} {"level":"info","component":"agent","time":"2026-01-18T10:10:25Z","message":"Fetching sweep status"} {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:10:25Z","message":"Successfully pushed status to gateway"} {"level":"info","component":"agent","time":"2026-01-18T10:10:25Z","message":"Successfully streamed sysmon metrics to gateway"} {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:10:25Z","message":"GetSweepResults called"} {"level":"info","component":"agent","time":"2026-01-18T10:10:55Z","message":"Fetching sweep status"} {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:10:55Z","message":"Successfully pushed status to gateway"} {"level":"info","component":"agent","time":"2026-01-18T10:10:55Z","message":"Successfully streamed sysmon metrics to gateway"} {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:10:55Z","message":"GetSweepResults called"} {"level":"info","component":"agent","time":"2026-01-18T10:11:25Z","message":"Fetching sweep status"} {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:11:25Z","message":"Successfully pushed status to gateway"} {"level":"info","component":"agent","time":"2026-01-18T10:11:25Z","message":"Successfully streamed sysmon metrics to gateway"} {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:11:25Z","message":"GetSweepResults called"} {"level":"info","component":"agent","time":"2026-01-18T10:11:55Z","message":"Fetching sweep status"} {"level":"info","component":"agent","status_count":8,"time":"2026-01-18T10:11:55Z","message":"Successfully pushed status to gateway"} {"level":"info","component":"agent","time":"2026-01-18T10:11:55Z","message":"Successfully streamed sysmon metrics to gateway"} {"level":"info","component":"agent","lastSequence":"1","time":"2026-01-18T10:11:55Z","message":"GetSweepResults called"} ``` Why are we calling GetSweepResults? should be PushSweepResults `serviceradar-agent` shouldn't be trying to reach out to anything anymore, it just pushes status up, and maybe eventually, might also run a server to accept connections from external checkers, but it definitely shouldn't be polling other checkers anymore. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
mfreeman451 added this to the 1.1.0 milestone 2026-03-28 04:28:22 +00:00
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2351#issuecomment-3803304343
Original created: 2026-01-27T06:12:07Z


fixed this already as well, not seeing it in the logs anymore

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2351#issuecomment-3803304343 Original created: 2026-01-27T06:12:07Z --- fixed this already as well, not seeing it in the logs anymore
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#770
No description provided.