From 2dd3727f50b5c7936f474af1779fade7e9607476 Mon Sep 17 00:00:00 2001 From: Ivan Ponovarev Date: Tue, 12 Feb 2013 14:14:12 +0400 Subject: [PATCH] documentation fix --- .../0060-deploying-openstack.rst | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/pages/installation-instructions/0060-deploying-openstack.rst b/docs/pages/installation-instructions/0060-deploying-openstack.rst index 0b3bbeb819..a25876d39e 100644 --- a/docs/pages/installation-instructions/0060-deploying-openstack.rst +++ b/docs/pages/installation-instructions/0060-deploying-openstack.rst @@ -332,6 +332,7 @@ Installing Nagios Monitoring using Puppet ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installing nagios NRPE on compute or controller node: :: + class {'nagios': proj_name => 'test', services => ['nova-compute','nova-network','libvirt'], @@ -339,12 +340,14 @@ Installing nagios NRPE on compute or controller node: :: hostgroup => 'compute', } -where ``proj_name`` is a env for nagios commands and directory +where ``proj_name`` is an environment for nagios commands and directory + in this case: "``/etc/nagios/test/``" -``ervices`` - all services which nagios will monitor -``whitelist`` - array of IP addreses which NRPE trusts -``hostgroup`` - group wich will use in nagios master (do not forget create it in nagios master) + +* ``services`` - all services which nagios will monitor +* ``whitelist`` - array of IP addreses which NRPE trusts +* ``hostgroup`` - group to be used in nagios master (do not forget create it in nagios master) Installing nagios Master on any convenient node: :: @@ -359,14 +362,15 @@ Installing nagios Master on any convenient node: :: 'group' => 'admins'}, } -where ``proj_name`` is a env for nagios services and directory +where ``proj_name`` is an environment for nagios services and directory + in this case: "``/etc/nagios3/test/``" -``templatehost`` - group of checks and intervals parameters for hosts (as Hash) -``templateservice`` - group checks and intervals parameters for services (as Hash) -``hostgroups`` - just add all of groups which were on NRPE nodes (as Array) -``contactgroups`` - group of contacts {as Hash} -``contacts`` - create contacts for send error reports {as Hash} +* ``templatehost`` - group of checks and intervals parameters for hosts (as Hash) +* ``templateservice`` - group of checks and intervals parameters for services (as Hash) +* ``hostgroups`` - just add all groups which were on NRPE nodes (as Array) +* ``contactgroups`` - group of contacts {as Hash} +* ``contacts`` - create contacts for send error reports to {as Hash} Examples of OpenStack installation sequences