W3cubDocs

/Ansible

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.1).

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)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/nrdp_callback.html