cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Which API and field?: Indicator of brand new on-boarding hosts

avrildong
Guide

Use case: we intend to find out EXACT checklist of those brand-new-on-boarding hosts/one-agents during last 7 days or custom period. Those have to match with "Console > Deployment status > OneAgents" which EXCLUDE those preexisting-hosts/one-agents with re-enabled-monitor.

 

Issue: 

hosts & oneagents API limitation > those 2 API shown "firstSeenTimestamp" field re-count the datetime if already-on-boarded hosts restarted or one-agent service restarted. We need to exclude those cases but ONLY retrieve first-time-brand-new-on-board ones.
 
Question: which API and field can reach above goal? Any solution for us to easily grab "brand-new-on-boarding hosts/one-agents during last 7 days or custom period"?
 
3 REPLIES 3

Mizső
DynaMight Leader
DynaMight Leader

Hi @avrildong,

 

Have you already checked this?

 

MONITORED_AGENT_REGISTERED: Hosts where the new OneAgent has been recognized.

 

OneAgent on a host API | Dynatrace Docs

 

Maybe it could help.

 

Best regards,

 

Mizső

Certified Dynatrace Professional

@Mizső , 

 

Thanks!

 

Have you already checked this? > Yes, we have tried this API api/v1/oneagents plus api/v1/entity/infrastructure/hosts, however, "hosts & oneagents API limitation > those 2 API shown "firstSeenTimestamp" field re-count the datetime if already-on-boarded hosts restarted or one-agent service restarted. We need to exclude those cases but ONLY retrieve first-time-brand-new-on-board ones.". 

 

Rgds, Avril 

Hi @avrildong, were you able to find a solution for your specific use case maybe? If so, we'd really appreciate you sharing it with the Community 😊

 

And if not yet, let's bring this question to the top once again so more people see it and hope someone has the answer for you 😉 Cheers!

The only constant is change. Finding ways for great things to happen!