diff --git a/plugins/modules/nagios.py b/plugins/modules/nagios.py index 6426975546..5a9c36bc1e 100644 --- a/plugins/modules/nagios.py +++ b/plugins/modules/nagios.py @@ -22,6 +22,13 @@ description: - The C(nagios) module is not idempotent. - All actions require the O(host) parameter to be given explicitly. In playbooks you can use the C({{inventory_hostname}}) variable to refer to the host the playbook is currently running on. + - The module executes commands and needs to be run directly on the Nagios server + with a user that has appropriate access rights. It does not use Nagios' HTTP API. + - Searches for a I(nagios.cfg) in I(/etc/nagios), I(/etc/nagios2), I(/etc/nagios3), I(/usr/local/etc/nagios), + I(/usr/local/groundwork/nagios/etc), I(/omd/sites/oppy/tmp/nagios), I(/usr/local/nagios/etc), + I(/usr/local/nagios), I(/opt/nagios/etc), and I(/opt/nagios), + or a I(icinga.cfg) in I(/etc/icinga) and I(/usr/local/icinga/etc). + (The Nagios configuration file should be readable by the Ansible user.) extends_documentation_fragment: - community.general.attributes attributes: