community.general.nrdp – Post task results to a Nagios server through nrdp

Note

This plugin is part of the community.general collection (version 3.8.3).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.nrdp.

Synopsis

  • This callback send playbook result to Nagios.

  • Nagios shall use NRDP to recive passive events.

  • The passive check is sent to a dedicated host/service for Ansible.

Parameters

Parameter

Comments

hostname

string / required

Hostname where the passive check is linked to.

Configuration:

  • INI entry:

    [callback_nrdp]
    hostname = None
    
  • Environment variable: NRDP_HOSTNAME

servicename

string / required

Service where the passive check is linked to.

Configuration:

  • INI entry:

    [callback_nrdp]
    servicename = None
    
  • Environment variable: NRDP_SERVICENAME

token

string / required

Token to be allowed to push nrdp events.

Configuration:

  • INI entry:

    [callback_nrdp]
    token = None
    
  • Environment variable: NRDP_TOKEN

url

string / required

URL of the nrdp server.

Configuration:

  • INI entry:

    [callback_nrdp]
    url = None
    
  • Environment variable: NRDP_URL

validate_certs

aliases: validate_nrdp_certs

boolean

Validate the SSL certificate of the nrdp server. (Used for HTTPS URLs.)

Choices:

  • no ← (default)

  • yes

Configuration:

  • INI entries:

    [callback_nrdp]
    validate_nrdp_certs = no
    
    [callback_nrdp]
    validate_certs = no
    
  • Environment variable: NRDP_VALIDATE_CERTS

Authors

  • Remi VERCHERE (@rverchere)