POST /api/monitoring_results
Import monitoring result

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

host
wymagany

FQDN of the host that the results are for

Validations:

  • Must be a String

service
wymagany

Name of the service the results belong to

Validations:

  • Must be a String

timestamp
opcjonalny

Timestamp of the results

Validations:

  • Must be a String

acknowledged
opcjonalny

Is the result acknowledged?

Validations:

  • Must be one of: true, false.

downtime
opcjonalny

Is the result in downtime?

Validations:

  • Must be one of: true, false.

result
opcjonalny

State of the monitoring result (0 -> ok, 1 -> warning, 2 -> critical, 3 -> unknown)

Validations:

  • Must be one of: 0, 1, 2, 3.