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 organisations

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.