Module for running fmadm and fmdump on Solaris
Jorge Schrauwen <sjorge@blackdot.be>
new
solaris,illumos
New in version 2016.3.0.
salt.modules.solaris_fmadm.
acquit
(fmri)¶Acquit resource or acquit case
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
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
filter events after time, see man fmdump for format
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 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
CLI Example:
salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.
replaced
(fmri)¶Notify fault manager that resource has been replaced
fmri
CLI Example:
salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.
reset
(module, serd=None)¶Reset module or sub-component
module to unload
serd sub module
CLI Example:
salt '*' fmadm.reset software-response
salt.modules.solaris_fmadm.
show
(uuid)¶Display log details
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 to unload
CLI Example:
salt '*' fmadm.unload software-response