Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
pxctl alerts
pxctl alerts
pxctl alerts
Description
px alertspxctl alerts show
pxctl alerts show
Description
Start with example and categorically filter alerts using available flagsExample
pxctl alerts show --type=all
Flags
Flag | Description |
---|---|
|
alert type (used default if not set) Default value: all |
|
alert id (set to activate) |
|
resource name (set to activate) |
|
min severity value (set to activate) Default value: notify |
|
start time (format RFC3339) (set to activate) |
|
end time (format RFC3339) (set to activate) |
|
minimum count value (set to activate) |
|
maximum count value (set to activate) Default value: 2147483647 |
|
filter by alert clear flag (set to activate) |
|
output alerts to a file in CSV format |
pxctl alerts purge
pxctl alerts purge
Description
Alerts from show command are the alerts that will get purged in purge commandExample
pxctl alerts purge --type=all
Flags
Flag | Description |
---|---|
|
set to confirm yes and skip y/n question |
|
alert type (used default if not set) Default value: all |
|
alert id (set to activate) |
|
resource name (set to activate) |
|
min severity value (set to activate) Default value: notify |
|
start time (format RFC3339) (set to activate) |
|
end time (format RFC3339) (set to activate) |
|
minimum count value (set to activate) |
|
maximum count value (set to activate) Default value: 2147483647 |
|
filter by alert clear flag (set to activate) |
pxctl alerts info
pxctl alerts info