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

Note

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

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)