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

New host detection

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello,

Is there an elegant way to detect and signal a new host connecting to an environment?


KR Henk

5 REPLIES 5

ChadTurner
DynaMight Legend
DynaMight Legend

@Henk S. When you onboard a new host via the Dynatrace Oneagent, it should show up under "Deployment Status" > Oneagents> Recently Connected Hosts. From this page you can also filter out hosts via oneagent version and so on.

-Chad

hello chad,

thx for your response, do you know if this can be automated? for example when a new host is detected Dynatrace sends me an email or something like that,

kr Henk

Hey @Henk S. not that I am aware of. I know that some organizations with VMWare environments are putting the oneagent into the ISO images/templates so when a new host is deployed, it automatically gets connected up to the environment. This of course also requires updates overtime just like Microsoft patches. Why roll out 10 servers that all need to get the same patches because the template is old. Typically we would update them all every 3 months.

You could put in a RFE as that might be a handy feature to have, but also might get over whelming depending on the organizations size.

If you have any type of cloud monitoring then the Oneagent Operator keeps everything updated and everything on boarded as new devices spin up/down.

-Chad

dave_mauney
Dynatrace Champion
Dynatrace Champion

Only option I can think of is to use the API to list the hosts and compare to the prior list. You could run this daily and get a list of any new hosts added during the prior 24 hour that way.

Hi Dave,

Can you help to address the API here?

We intend to proceed your solution "run this daily and get a list of any new hosts added during the prior 24 hour that way." , but we are confusing which API should be and which field indicate it is new in prior 24 hours?  

Besides, 

  • If one-agent fully restart, firstSeenTimestamp field (not sure this is the indicator) will re-count from zero? 
  • prior 24 hours = from=now-24h&to=now ? or better to use from=yesterday?

 

Thanks much in the advance!  & Rgds, Avril

Featured Posts