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:
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ő
@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!