Skip to content

Commit

Permalink
Added checkdisk_critical and checkdisk_warning parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Oct 28, 2012
1 parent e3691fe commit e6208ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
# This setting is specific for the ntp checks. It defines the ntp server
# to use when verifying if local time is correct. Default: '0.pool.ntp.org'
#
# [*checkdisk_warning*]
# This setting is specific for the disk checks. It defines the warning level
# for disk checks. Default: 20
#
# [*checkdisk_critical*]
# This setting is specific for the disk checks. It defines the critical level
# for disk checks. Default: 10
#
# [*command_timeout*]
# The timeout for commands executed by Nrpe. Default: '60'
#
Expand Down Expand Up @@ -262,6 +270,8 @@
$server_address = params_lookup( 'server_address' ),
$file_init_template = params_lookup( 'file_init_template' ),
$ntp = params_lookup( 'ntp' ),
$checkdisk_warning = params_lookup( 'checkdisk_warning' ),
$checkdisk_critical = params_lookup( 'checkdisk_critical' ),
$my_class = params_lookup( 'my_class' ),
$source = params_lookup( 'source' ),
$source_dir = params_lookup( 'source_dir' ),
Expand Down
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

# Needed for ntp checks
$ntp = '0.pool.ntp.org'
$checkdisk_warning = '20'
$checkdisk_critical = '10'

$command_timeout = '60'
$connection_timeout = '300'
Expand Down

0 comments on commit e6208ed

Please sign in to comment.