vh health
Reference for vh health - list the server's health findings, acknowledge them, and silence a class of finding.
vh health lists what the server reports as wrong (its health findings) and what was said about them. vh health
alone is vh health list. Listing needs the admin.stats.view admin permission; acknowledging and silencing need
admin.stats.manage and are recorded in the audit trail. The web console shows the same findings in its Health area.
1vh health2vh health ack <class>3vh health silence <class> --for 7d4vh health unsilence <class>
An acknowledgement ends when the finding clears or gets worse; a silence never covers the finding getting worse.
Every finding class, its severity and where to look: Server Health.
Commands
| Command | Arguments | Aliases | Effect | Summary |
|---|---|---|---|---|
ls, show | read | The health findings that are active now, each with its state (active, acknowledged, silenced), and the silences that are set. | ||
<class> | acknowledge | write | "I have seen this": mark an active finding acknowledged. | |
<class> | mute | write | "Do not tell me about this": silence a class of finding, active or not, for a time or until it is turned back on. | |
<class> | unmute | write | Turn a class of finding back on: remove its silence or acknowledgement. |
| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
flag | Print the result as JSON (the ws shapes). |
vh health list
vh health list [--json]Exit status: 0 when nothing asks for a person, 1 when an unattended warning does, 2 when an unattended error
does, so vh health can drive a monitoring check.
| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
flag | Print the result as JSON (the ws shapes). |
vh health ack
vh health silence
vh health silence <class> [--for <duration>] [--severity <level>] [--note <text>] [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
duration | How long: a number with m, h or d (30m, 24h, 7d). Without it: until turned back on. | |||
level | The worst severity it covers: warning or error (default: what the class has now, or the worst it can have). | |||
text | A note shown with the mark (up to 500 characters). | |||
flag | Print the result as JSON (the ws shapes). |
vh health unsilence
vh health unsilence <class> [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
flag | Print the result as JSON (the ws shapes). |
