W3cubDocs

/Ansible 2.11

community.general.nrdp – post task result to a nagios server through nrdp

Note

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

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
string
Default:
"no"
ini entries:

[callback_nrdp]
validate_nrdp_certs = no

[callback_nrdp]
validate_certs = no

env:NRDP_VALIDATE_CERTS
(bool) validate the SSL certificate of the nrdp server. (For HTTPS url)

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/2.11/collections/community/general/nrdp_callback.html