Class: NotificationAccount

NotificationAccount

The NotificationAccount class.

Constructor

new NotificationAccount()

Extends

Members

address :String

Address to deliver the notification to (for example an E-Mail address).

Type:
  • String

channel :Integer

ID of the notification channel used to deliver notifications to this account.

Type:
  • Integer
See:

checks :Array.<integer>

IDs of checks, services or service groups that will generate a notification.

Type:
  • Array.<integer>
See:

(readonly) id :Integer

The ID of this object.

Type:
  • Integer
Inherited From:

logdefinitions :Array.<integer>

IDs of log pools that will trigger a notification for new feedbacks.

Type:
  • Array.<integer>
See:

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:
  • ""

sendflags :Integer

Trigger a notification if the status changes to any of the enabled states.

Type:
  • Integer
Default Value:
  • NotificationSendIf.Ok | NotificationSendIf.Warning | NotificationSendIf.Critical
See:

status :ElementStatus

The object status.

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