• Version 3.0
  • Version 2.13
  • Version 2.12
  • Version 2.11

pxctl alerts


pxctl alerts

 pxctl alerts

Description

px alerts

pxctl alerts show

 pxctl alerts show

Description

Start with example and categorically filter alerts using available flags

Example

pxctl alerts show --type=all

Flags

Flag Description

--type, -t (str)

alert type (used default if not set)

Default value: all

--id, -i (str)

alert id (set to activate)

--resource, -r (str)

resource name (set to activate)

--severity, -s (str)

min severity value (set to activate)

Default value: notify

--start-time (str)

start time (format RFC3339) (set to activate)

--end-time (str)

end time (format RFC3339) (set to activate)

--min-count (int)

minimum count value (set to activate)

--max-count (int)

maximum count value (set to activate)

Default value: 2147483647

--is-cleared, -c (str)

filter by alert clear flag (set to activate)

--out, -o (str)

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 command

Example

pxctl alerts purge --type=all

Flags

Flag Description

--confirm-yes, -%!s(bool=true) (bool)

set to confirm yes and skip y/n question

--type, -t (str)

alert type (used default if not set)

Default value: all

--id, -i (str)

alert id (set to activate)

--resource, -r (str)

resource name (set to activate)

--severity, -s (str)

min severity value (set to activate)

Default value: notify

--start-time (str)

start time (format RFC3339) (set to activate)

--end-time (str)

end time (format RFC3339) (set to activate)

--min-count (int)

minimum count value (set to activate)

--max-count (int)

maximum count value (set to activate)

Default value: 2147483647

--is-cleared, -c (str)

filter by alert clear flag (set to activate)

pxctl alerts info

 pxctl alerts info

Description

show info on alerts