community / community.general / 8.5.0 / callback / nrdp Post task results to a Nagios server through nrdp Authors: Remi VERCHERE (@rverchere)community.general.nrdp (8.5.0) — callback
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
This callback send playbook result to Nagios.
Nagios shall use NRDP to receive passive events.
The passive check is sent to a dedicated host/service for Ansible.
url: description: URL of the nrdp server. env: - name: NRDP_URL ini: - key: url section: callback_nrdp required: true type: string token: description: Token to be allowed to push nrdp events. env: - name: NRDP_TOKEN ini: - key: token section: callback_nrdp required: true type: string hostname: description: Hostname where the passive check is linked to. env: - name: NRDP_HOSTNAME ini: - key: hostname section: callback_nrdp required: true type: string servicename: description: Service where the passive check is linked to. env: - name: NRDP_SERVICENAME ini: - key: servicename section: callback_nrdp required: true type: string validate_certs: aliases: - validate_nrdp_certs default: false description: Validate the SSL certificate of the nrdp server. (Used for HTTPS URLs.) env: - name: NRDP_VALIDATE_CERTS ini: - key: validate_nrdp_certs section: callback_nrdp - key: validate_certs section: callback_nrdp type: boolean