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

Listing out all remote hosts configured via Remote Unix Monitor (Extensions 2.0) using Notebook

Hi, there

Curious if there's a way to list out all remote hosts configured via Remote Unix Monitor (Extensions 2.0) using Notebook. I'm aware it is possible to get this information via API but interested to see if it can be achieved using Notebook as well.

Regards,

Srikanth

5 REPLIES 5

I don't have the extension so haven't tried, can you please try the below?

 

fetch `dt.entity.remote_unix:host`

 

Phani Devulapalli

Thanks much @p_devulapalli .

It did produce list of remote hosts configured via this extension. Any way to get their availability status as well?

try this:

timeseries avail=avg(remote_unix.availability), by: { hostname } |fields hostname,availavg=arrayAvg(avail)
Alanata a.s.

Thanks much @rastislav_danis . It worked greatly for me. If I want to send this report as an email every day at a specific hour? Is that doable?

You can try email for workflows feature:

rastislav_danis_0-1727358135808.png

and use time trigger in workflow.

Alanata a.s.

Featured Posts