inexio.thola.thola_check_server_facts (1.0.2) — module

Checks a server

| "added in version" 1.0.0 of inexio.thola"

Authors: Thola team

Install collection

Install with ansible-galaxy collection install inexio.thola:==1.0.2


Add to requirements.yml

  collections:
    - name: inexio.thola
      version: 1.0.2

Description

Checks a server given its IP


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: thola check server
  thola_check_server_facts:
    host: '{{ host }}'
    community: '{{ community }}'
    version: '{{ version }}'
    port: '{{ port }}'
    critical_max: '{{ critical_max }}'
    critical_min: '{{ critical_min }}'
    warning_max: '{{ warning_max }}'
    warning_min:  '{{ warning_min }}'
    discover_parallel_request: '{{ discover_parallel_request }}'
    discover_retries: '{{ discover_retries }}'
    discover_timeout: '{{ discover_timeout }}'
    user_critical_max: '{{ user_critical_max }}'
    user_critical_min: '{{ user_critical_min }}'
    user_warning_max: '{{ user_warning_max }}'
    user_warning_min: '{{ user_warning_min }}'
    procs_critical_max: '{{ procs_critical_max }}'
    procs_critical_min: '{{ procs_critical_min }}'
    procs_warning_max: '{{ procs_warning_max }}'
    procs_warning_min: '{{ procs_warning_min }}'
  register: result '{{ user_critical_max }}'

Inputs

    
host:
    description:
    - IP of the device you want to identify
    required: true

port:
    description:
    - The port you want Thola to connect to the device

version:
    description:
    - SNMP version that should be used to connect to the device

api_host:
    description:
    - Hostname of the running Thola API instance
    required: true

community:
    description:
    - SNMP community of the device

discover_retries:
    description:
    - Sets the number of discovery retries

discover_timeout:
    description:
    - Sets the discover timeout

user_warning_max:
    description:
    - The maximum user warning threshold

user_warning_min:
    description:
    - The minimum user warning threshold

procs_warning_max:
    description:
    - The maximum process warning threshold

procs_warning_min:
    description:
    - The minimum process warning threshold

user_critical_max:
    description:
    - The maximum user critical threshold

user_critical_min:
    description:
    - The minimum user critical threshold

procs_critical_max:
    description:
    - The maximum process critical threshold

procs_critical_min:
    description:
    - The minimum process critical threshold

discover_parallel_request:
    description:
    - Sets the number of possible parallel requests

Outputs

changed:
  description: whether the command has been executed on the device
  returned: always
  sample: true
  type: bool
thola_check_server_facts:
  description: Server facts
  returned: always
  type: dict