On this page
community.general.nrdp – post task result to a nagios server through nrdp
Note
This plugin is part of the community.general collection (version 1.3.2).
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]
env:NRDP_HOSTNAME
|
hostname where the passive check is linked to
|
|
servicename
string / required
|
ini entries:
[callback_nrdp]
env:NRDP_SERVICENAME
|
service where the passive check is linked to
|
|
token
string / required
|
ini entries:
[callback_nrdp]
env:NRDP_TOKEN
|
token to be allowed to push nrdp events
|
|
url
string / required
|
ini entries:
[callback_nrdp]
env:NRDP_URL
|
url of the nrdp server
|
|
validate_certs
string
|
Default:
"no"
|
ini entries:
[callback_nrdp] [callback_nrdp]
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–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/nrdp_callback.html