salt.beacons.wtmp

Beacon to fire events at login of users as registered in the wtmp file

beacons:
  wtmp: []
salt.beacons.wtmp.beacon(config)

Read the last wtmp file and return information on the logins

beacons:
  wtmp: []

beacons:
  wtmp:
    - users:
        gareth:
    - defaults:
        time_range:
            start: '8am'
            end: '4pm'

beacons:
  wtmp:
    - users:
        gareth:
            time_range:
                start: '8am'
                end: '4pm'
    - defaults:
        time_range:
            start: '8am'
            end: '4pm'
salt.beacons.wtmp.validate(config)

Validate the beacon configuration

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2018.3.3

Previous topic

salt.beacons.twilio_txt_msg

Next topic

Cache Modules