salt.modules.solaris_fmadm

Module for running fmadm and fmdump on Solaris

maintainer:

Jorge Schrauwen <sjorge@blackdot.be>

maturity:

new

platform:

solaris,illumos

New in version 2016.3.0.

salt.modules.solaris_fmadm.acquit(fmri)

Acquit resource or acquit case

fmri: string

fmri or uuid

CLI Example:

salt '*' fmadm.acquit fmri | uuid
salt.modules.solaris_fmadm.config()

Display fault manager configuration

CLI Example:

salt '*' fmadm.config
salt.modules.solaris_fmadm.faulty()

Display list of faulty resources

CLI Example:

salt '*' fmadm.faulty
salt.modules.solaris_fmadm.flush(fmri)

Flush cached state for resource

fmri: string

fmri

CLI Example:

salt '*' fmadm.flush fmri
salt.modules.solaris_fmadm.healthy()

Return whether fmadm is reporting faults

CLI Example:

salt '*' fmadm.healthy
salt.modules.solaris_fmadm.list_records(after=None, before=None)

Display fault management logs

afterstring

filter events after time, see man fmdump for format

beforestring

filter events before time, see man fmdump for format

CLI Example:

salt '*' fmadm.list
salt.modules.solaris_fmadm.load(path)

Load specified fault manager module

path: string

path of fault manager module

CLI Example:

salt '*' fmadm.load /module/path
salt.modules.solaris_fmadm.repaired(fmri)

Notify fault manager that resource has been repaired

fmri: string

fmri

CLI Example:

salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.replaced(fmri)

Notify fault manager that resource has been replaced

fmri: string

fmri

CLI Example:

salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.reset(module, serd=None)

Reset module or sub-component

module: string

module to unload

serdstring

serd sub module

CLI Example:

salt '*' fmadm.reset software-response
salt.modules.solaris_fmadm.show(uuid)

Display log details

uuid: string

uuid of fault

CLI Example:

salt '*' fmadm.show 11b4070f-4358-62fa-9e1e-998f485977e1
salt.modules.solaris_fmadm.unload(module)

Unload specified fault manager module

module: string

module to unload

CLI Example:

salt '*' fmadm.unload software-response