25 Sep 2024 02:43 PM - last edited on 26 Sep 2024 07:07 AM by MaciejNeumann
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
Solved! Go to Solution.
26 Sep 2024 08:11 AM
I don't have the extension so haven't tried, can you please try the below?
fetch `dt.entity.remote_unix:host`
26 Sep 2024 10:40 AM
Thanks much @p_devulapalli .
It did produce list of remote hosts configured via this extension. Any way to get their availability status as well?
26 Sep 2024 02:21 PM - edited 26 Sep 2024 02:23 PM
try this:
timeseries avail=avg(remote_unix.availability), by: { hostname } |fields hostname,availavg=arrayAvg(avail)
26 Sep 2024 02:31 PM
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?
26 Sep 2024 02:42 PM - edited 26 Sep 2024 02:43 PM
You can try email for workflows feature:
and use time trigger in workflow.