edited README and parameter documentation
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# @summary Class manages /etc/nagios/conf.d/nagios_add_contact.cfg through
|
||||
# concat.
|
||||
# @example
|
||||
# cd_nagios::nagios::objects::add_contact { 'example_user':
|
||||
# @example cd_nagios::nagios::objects::add_contact { 'example_user':
|
||||
# ng_contact_name => 'example_user',
|
||||
# ng_contact_alias => 'Example User',
|
||||
# ng_contact_groups => 'admins',
|
||||
|
||||
@@ -25,6 +25,11 @@
|
||||
# ng_servicegroup_name => 'example_servicegroup',
|
||||
# ng_servicegroup_alias => 'Example servicegroup',
|
||||
# }
|
||||
# @param [string] ng_servicegroup_name Specify the servicegroup short name
|
||||
# @param [string] ng_servicegroup_name Specify the servicegroup alias
|
||||
# (long name).
|
||||
# @param [string] ng_servicegroup_register Whether you want to register the
|
||||
# servicegroup
|
||||
###############################################################################
|
||||
define cd_nagios::nagios::objects::add_servicegroups (
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# @summary Class manages /etc/nagios_conf.d/nagios_timeperiods_add.cfg and
|
||||
# add. hostgroups through external Puppet rules via define.
|
||||
# cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
|
||||
# @example cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
|
||||
# ng_timep_name => 'example_timeperiod',
|
||||
# ng_timep_alias => 'Example timeperiod',
|
||||
# ng_timep_monday => '00:00-00:00',
|
||||
|
||||
Reference in New Issue
Block a user