Configure health monitoring

If you use the health monitoring, using ACC, make sure to configure the system.

Procedure

  1. Start ARIS Cloud Controller (ACC).

  2. Enter the parameters described below.

Thresholds

Thresholds for monitored values can be configured using agent configuration parameters:

Parameter

Description

monitoring.high.cpu.threshold.percent

(0.0 – 1.0, default 0.8)

High CPU usage threshold

(relative, in percent)

monitoring.relative.low.disk.space.warning.threshold.percent

(0.0 – 1.0, default 0.03)

Low memory threshold

(relative, in percent)

monitoring.absolute.low.disk.space.warning.threshold.megabytes

(default 1000)

Low disk space threshold

(absolute, in megabytes)

Warning

ARIS Agent not only warns against insufficient disk space. When the default value (1000 MB) is reached, all runnables are immediately shut down (killall) to avoid data inconsistencies. Runnables cannot be restarted. ARIS Agent autostart is disabled.

Threshold measurement

The measurement can be configured by the following parameters:

Parameter

Description

monitoring.interval

(default 1000)

Interval in milliseconds, in which the measurement will be done.

monitoring.high.cpu.number.of.intervals.warning.threshold

(default 10)

Number of measurements with CPU load above threshold before a warning state is reached

monitoring.high.mem.usage.number.of.intervals.warning.threshold

(default 10)

Number of measurements with memory usage above threshold before a warning state is reached.

monitoring.low.disk.space.number.of.intervals.warning.threshold

(default 10)

Number of measurements with free disk space below threshold before a warning state is reached.

Mail notification

Mail notification can be configured by the following parameters:

Parameter

Description

mail.notification.enabled

(default: false)

true enables automatic mailing.

mail.smtp.host

Qualified hostname or IP of the mail server.

mail.smtp.port

(common: 25)

Port of the mail server.

mail.smtp.username

User name on the mail server. If this parameter is set, the applications will implicitly enable SMTP authentication. There is NO dedicated parameter to explicitly enable SMTP authentication.

mail.smtp.password

Mail server password for the specified user.

mail.sender.address

Sender's e-mail address.

mail.sender.name

Sender's name.

mail.recipients

Recipient's e-mail address.

This parameter is multivalued, specify several recipients separated with commas, for example:

set mail.recipients = "a@abc.com","b@abc.com"

mail.recipients.cc

Recipient's e-mail address (Carbon Copy(CC)).

This parameter is multivalued (see mail.recipients)

mail.on.system.events

Defining events triggering e-mail notification.

This parameter is multivalued, specify several event types separated by comma, for example:

set mail.on.system.events = MACHINE_STATE_CPU_LOAD_HIGH, MACHINE_STATE_

Possible values:

  • MACHINE_STATE_LOW_DISK_SPACE_PERCENT

  • MACHINE_STATE_OK_DISK_SPACE_PERCENT

  • MACHINE_STATE_LOW_DISK_SPACE

  • MACHINE_STATE_OK_DISK_SPACE

  • MACHINE_STATE_CPU_LOAD_HIGH

  • MACHINE_STATE_CPU_LOAD_OK

  • MACHINE_STATE_MEMORY_USAGE_HIGH

  • MACHINE_STATE_MEMORY_USAGE_OK