10 Apr 2023 03:42 PM - last edited on 20 Aug 2024 02:57 PM by Michal_Gebacki
Hi everyone,
I use metrics API V2 to see availability for a host, but it gives me a different result than the host detail page. Those are the screen shots of the same host.
as you can see there is 0.02% difference. I use host availability % aka builtin:host.availability metric for the data explorer. As I understand, it is because of the maintenance mode which is not calculated with these metrics.
Do you know any other way to get availability on which maintenance mode will be included or is there any way for that in the API?
Happy Easter 🙂
Solved! Go to Solution.
25 May 2023 08:38 PM
I would check your time frames and host entity to ensure that you are looking at the same apples to apples. Maintenance windows are designed to preserve availability metrics and therefor you should have the same values from the host page to the data explorer page.