Acknowledge
Description
This playbook acknowledges alerts in Nagios for specific hosts or services. It validates the target (host or host group), retrieves the list of members if the target is a host group, and performs acknowledgment actions based on the type of service. It supports handling both active and passive services.
Credentials
- sys_ansible_local
- Nagios XI - PR - User - sys_daf_nagios_read
Input
| Variable | Description |
|---|---|
nagios_server |
Nagios server hostname |
target |
Host or host group to acknowledge |
service |
Service name to acknowledge |
nagios_comment |
Optional comment for acknowledgment |
Output
None