salt.modules.win_status

Module for returning various status data about a minion. These data can be useful for compiling into stats later.

depends:
  • pythoncom
  • wmi
salt.modules.win_status.master(master=None, connected=True)

New in version 2015.5.0.

Fire an event if the minion gets disconnected from its master. This function is meant to be run via a scheduled job from the minion. If master_ip is an FQDN/Hostname, is must be resolvable to a valid IPv4 address.

CLI Example:

salt '*' status.master
salt.modules.win_status.procs()

Return the process data

CLI Example:

salt '*' status.procs