mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
puppet: Check all disks via nagios, not just /
(imported from commit 0bc9fc150e791ce3ccec99688f3593a8678a87c9)
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user