puppet: Check all disks via nagios, not just /

(imported from commit 0bc9fc150e791ce3ccec99688f3593a8678a87c9)
This commit is contained in:
Zev Benjamin
2013-12-09 13:26:51 -05:00
parent d5c6408efe
commit 759d33fad1
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ define command{
define command{
command_name check_remote_disk
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -W$ARG2$ -K$ARG3$ -w $ARG2$ -c $ARG3$ -p $ARG4$'
command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -W$ARG1$ -K$ARG2$ -w $ARG1$ -c $ARG2$ -A -l'
}
define command{

View File

@@ -26,7 +26,7 @@ define service {
use generic-service
hostgroup_name pageable_servers
service_description remote disk - pageable
check_command check_remote_disk!22!20%!10%!/
check_command check_remote_disk!20%!10%
contact_groups page_admins
}
@@ -34,7 +34,7 @@ define service {
use generic-service
hostgroup_name not_pageable_servers
service_description remote disk
check_command check_remote_disk!22!20%!10%!/
check_command check_remote_disk!20%!10%
contact_groups admins
}