POST /api/monitoring_results
Import monitoring result

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

host
必填

FQDN of the host that the results are for

Validations:

  • Must be a String

service
必填

Name of the service the results belong to

Validations:

  • Must be a String

timestamp
选填

Timestamp of the results

Validations:

  • Must be a String

acknowledged
选填

Is the result acknowledged?

Validations:

  • Must be one of: true, false.

downtime
选填

Is the result in downtime?

Validations:

  • Must be one of: true, false.

result
选填

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

Validations:

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