documentation fix

This commit is contained in:
Ivan Ponovarev 2013-02-12 14:14:12 +04:00
parent d5cc820f62
commit 2dd3727f50

View File

@ -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