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

Note

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

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 Choices/Defaults Configuration Comments
hostname
string / required
ini entries:

[callback_nrdp]
hostname = None

env:NRDP_HOSTNAME
Hostname where the passive check is linked to.
servicename
string / required
ini entries:

[callback_nrdp]
servicename = None

env:NRDP_SERVICENAME
Service where the passive check is linked to.
token
string / required
ini entries:

[callback_nrdp]
token = None

env:NRDP_TOKEN
Token to be allowed to push nrdp events.
url
string / required
ini entries:

[callback_nrdp]
url = None

env:NRDP_URL
URL of the nrdp server.
validate_certs
boolean
    Choices:
  • no ←
  • yes
ini entries:

[callback_nrdp]
validate_nrdp_certs = no

[callback_nrdp]
validate_certs = no

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

aliases: validate_nrdp_certs

Authors

  • Remi VERCHERE (@rverchere)