POST /api/monitoring_results
Import monitoring result

Params

Param Name Description
location_id
Optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
Optional

Scope by organizations

Validations:

  • Must be a Integer

host
Required

FQDN of the host that the results are for

Validations:

  • Must be a String

service
Required

Name of the service the results belong to

Validations:

  • Must be a String

timestamp
Optional

Timestamp of the results

Validations:

  • Must be a String

acknowledged
Optional

Is the result acknowledged?

Validations:

  • Must be one of: true, false.

downtime
Optional

Is the result in downtime?

Validations:

  • Must be one of: true, false.

result
Optional

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

Validations:

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