Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework 4 #28

Merged
merged 15 commits into from
Apr 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add Ansible facts documentation
ypid committed Apr 20, 2017

Verified

This commit was signed with the committer’s verified signature.
ypid Robin Schneider
commit e05c6bd8bd341ad1dd5570027dd54efe62464112
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _checkmk_agent__ref_changelog:

Changelog
=========

@@ -30,6 +32,8 @@ Added
- Automatically enable the ``smart`` Check_MK agent plugin on physical hosts to
query Self-Monitoring, Analysis and Reporting data from disks. [ypid_]

- Add :ref:`checkmk_agent__ref_ansible_facts` documentation. [ypid_]

Changed
~~~~~~~

31 changes: 31 additions & 0 deletions docs/facts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.. _checkmk_agent__ref_ansible_facts:

Ansible facts
=============

.. include:: includes/all.rst

The role exposes part of it’s state by means of Ansible local facts for other
roles and playbooks to use.
The interface is considered public and changes to it happen in compliance with
`Semantic Versioning`_ of the role and will be mentioned in the :ref:`checkmk_agent__ref_changelog`.
Here you can find documentation and examples for them.

Specification
-------------

``ansible_local.checkmk_agent.plugins``
List of all Check_MK Agent plugin names which are enabled (and configured if
necessary) by the role. Refer to :envvar:`checkmk_agent__plugins` and related
variables for details.

Availability: Always, after ``debops-contrib.checkmk_agent/env`` has been run.

Example
-------

.. code-block:: json
{
"plugins": ["nginx_status"]
}
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ Ansible role: debops-contrib.checkmk_agent
getting-started
defaults
defaults-detailed
facts
copyright
changelog