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.
-
Acquit resource or acquit case
- fmri: string
-
fmri or uuid
CLI Example:
salt '*' fmadm.acquit fmri | uuid
salt.modules.solaris_fmadm.acquit(fmri)
-
Display fault manager configuration
CLI Example:
salt '*' fmadm.config
salt.modules.solaris_fmadm.config()
-
Display list of faulty resources
CLI Example:
salt '*' fmadm.faulty
salt.modules.solaris_fmadm.faulty()
-
Flush cached state for resource
- fmri: string
-
fmri
CLI Example:
salt '*' fmadm.flush fmri
salt.modules.solaris_fmadm.flush(fmri)
-
Return whether fmadm is reporting faults
CLI Example:
salt '*' fmadm.healthy
salt.modules.solaris_fmadm.healthy()
-
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.list_records(after=None, before=None)
-
Load specified fault manager module
- path: string
-
path of fault manager module
CLI Example:
salt '*' fmadm.load /module/path
salt.modules.solaris_fmadm.load(path)
-
Notify fault manager that resource has been repaired
- fmri: string
-
fmri
CLI Example:
salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.repaired(fmri)
-
Notify fault manager that resource has been replaced
- fmri: string
-
fmri
CLI Example:
salt '*' fmadm.repaired fmri
salt.modules.solaris_fmadm.replaced(fmri)
-
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.reset(module, serd=None)
-
Display log details
- uuid: string
-
uuid of fault
CLI Example:
salt '*' fmadm.show 11b4070f-4358-62fa-9e1e-998f485977e1
salt.modules.solaris_fmadm.show(uuid)
-
Unload specified fault manager module
- module: string
-
module to unload
CLI Example:
salt '*' fmadm.unload software-response
salt.modules.solaris_fmadm.unload(module)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.solaris_fmadm.html