You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find all lines starting with "monitor_status" and have a look to the latest character of the line. # HELP monitor_status Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)
Great project, thanks!
I would like to get the status of all monitors (number of up, down, pending, ....)
I am not using any status pages right now.
The uptime kuma main webpage shows 'quick stats'. This is exactly what I want to get via API.
the snippet below takes about 15 seconds for 50 monitors, which is a bit inefficient.
is there a better way to get all stati? I am only interested in the number of monitors that are up. I don't need the IDs.
The text was updated successfully, but these errors were encountered: