salt.beacons.load

Beacon to emit system load averages

salt.beacons.load.beacon(config)

Emit the load averages of this host.

Specify thresholds for each load average and only emit a beacon if any of them are exceeded.

onchangeonly: when onchangeonly is True the beacon will fire events only when the load average pass one threshold. Otherwise, it will fire an event at each beacon interval. The default is False.

emitatstartup: when emitatstartup is False the beacon will not fire

event when the minion is reload. Applicable only when onchangeonly is True. The default is True.

beacons:
  load:
    - averages:
        1m:
          - 0.0
          - 2.0
        5m:
          - 0.0
          - 1.5
        15m:
          - 0.1
          - 1.0
    - emitatstartup: True
    - onchangeonly: False
salt.beacons.load.validate(config)

Validate the beacon configuration

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 3004

Previous topic

salt.beacons.junos_rre_keys

Next topic

salt.beacons.log_beacon