Class: ServiceCheck

ServiceCheck

The ServiceCheck class.

Constructor

new ServiceCheck()

See:

Extends

Members

databaseWriter :Integer

ID of the database connection where counter values will be persisted.

Type:
  • Integer
See:

(readonly) id :Integer

The ID of this object.

Type:
  • Integer
Inherited From:

interval :Integer

Seconds between executions of this check.

Type:
  • Integer

name :String

The name of this object.

Type:
  • String
Inherited From:

properties :Object.<string, string>

A place to store arbitrary string properties. In some cases objects store their configuration inside this hash/dictionary. If you store custom properties make sure you prefix them with your moduleId.

Type:
  • Object.<string, string>
Inherited From:
See:
  • upgrade_module

reference :String

The reference of this object. May only contain the characters A-Za-z0-9_.+: -.

Type:
  • String
Inherited From:
Default Value:
  • ""

service :Integer

ID of the service that this service check is assigned to.

Type:
  • Integer
See:

sla :Integer

ID of the default service level definition where availability data must be persisted.

Type:
  • Integer
See:

status :ElementStatus

The object status.

Type:
Inherited From:
Default Value:
  • ElementStatus.Active

timeoutInterval :Integer

Number of ServiceCheck#interval before the status becomes marked as too old.

Type:
  • Integer

toleranceInterval :Integer

Number of ServiceCheck#interval before before a failed check will be reported as error. Note: Does not apply to counter checks.

Type:
  • Integer