purestorage.flashblade.purefb_messages (1.17.0) — module

List FlashBlade Alert Messages

| "added in version" 1.10.0 of purestorage.flashblade"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

List Alert messages based on filters provided


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show critical alerts from past 4 weeks that haven't been acknowledged
  purefb_messages:
    history: 4w
    flagged : false
    severity:
    - critical
    fb_url: 10.10.10.2
    api_token: T-68618f31-0c9e-4e57-aa44-5306a2cf10e3

Inputs

    
state:
    choices:
    - all
    - open
    - closed
    default: open
    description:
    - State of alerts to show
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

flagged:
    default: false
    description:
    - Show alerts that have been acknowledged or not
    type: bool

history:
    default: 1w
    description:
    - Historical time period to show alerts for, from present time
    - Allowed time period are hour(h), day(d), week(w) and year(y)
    type: str

severity:
    choices:
    - all
    - critical
    - warning
    - info
    default:
    - all
    description:
    - severity of the alerts to show
    elements: str
    type: list

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str