nagios \- Perform common tasks in Nagios related to downtime and notifications.
."------DESCRIPTION
.SHDESCRIPTION
.PP
The \fInagios\fR module has two basic functions: scheduling downtime and toggling alerts for services or hosts.
.PP
All actions require the \fChost\fR parameter to be given explicitly. In playbooks you can use the \fC$inventory_hostname\fR variable to refer to the host the playbook is currently running on.
.PP
You can specify multiple services at once by separating them with commas, .e.g., \fCservices=httpd,nfs,puppet\fR.
.PP
When specifying what service to handle there is a special service value, \fIhost\fR, which will handle alerts/downtime for the \fIhost itself\fR, e.g., \fCservice=host\fR. This keyword may not be given with other services at the same time. \fISetting alerts/downtime for a host does not affect alerts/downtime for any of the services running on it.\fR
.PP
When using the \fInagios\fR module you will need to specify your nagios server using the \fCdelegate_to\fR parameter.
Author to leave downtime comments as. - Only useable with the \fCdowntime\fR action. (default: Ansible)
.IPservices
What to manage downtime/alerts for. Separate multiple services with commas.\fCservice\fR is an alias for \fCservices\fR.\fBRequired\fR option when using the \fCdowntime\fR, \fCenable_alerts\fR, and \fCdisable_alerts\fR actions.(required)
.IPminutes
Minutes to schedule downtime for.Only useable with the \fCdowntime\fR action. (default: 30)
.IPcmdfile
Path to the nagios \fIcommand file\fR (FIFO pipe).Only required if auto-detection fails. (default: auto-detected)."