Skip to main content
Version: 3.1

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

FlagDescription

--type, --t

(str)

alert type (used default if not set)

Valid values:
  • volume
  • node
  • cluster
  • drive
  • pool
  • all

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)

Valid values:
  • notify
  • warn
  • warning
  • alarm

Default value: notify

--start-time

(str)

start time (format RFC3339) (set to activate)

--end-time

(str)

end time (format RFC3339) (set to activate)

--is-cleared, --c

(str)

filter by alert clear flag (set to activate)

Valid values:
  • true
  • false

--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

FlagDescription

--confirm-yes, --y

(bool)

set to confirm yes and skip y/n question

--type, --t

(str)

alert type (used default if not set)

Valid values:
  • volume
  • node
  • cluster
  • drive
  • pool
  • all

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)

Valid values:
  • notify
  • warn
  • warning
  • alarm

Default value: notify

--start-time

(str)

start time (format RFC3339) (set to activate)

--end-time

(str)

end time (format RFC3339) (set to activate)

--is-cleared, --c

(str)

filter by alert clear flag (set to activate)

Valid values:
  • true
  • false

pxctl alerts info

pxctl alerts info

Description

show info on alerts

Was this page helpful?