3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements. See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership. The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License. You may obtain a copy of the License at
11
# http://www.apache.org/licenses/LICENSE-2.0
13
# Unless required by applicable law or agreed to in writing,
14
# software distributed under the License is distributed on an
15
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
# KIND, either express or implied. See the License for the
17
# specific language governing permissions and limitations
23
# 'check_cpu' check remote cpu load
25
command_name check_cpu
26
command_line $USER1$/check_cpu.pl -H $HOSTADDRESS$ -C hadoop -w $ARG1$ -c $ARG2$
29
# Check data node storage full
31
command_name check_datanode_storage
32
command_line php $USER1$/check_datanode_storage.php -h $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$
36
command_name check_hdfs_blocks
37
command_line php $USER1$/check_hdfs_blocks.php -h $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$
41
command_name check_hdfs_capacity
42
command_line php $USER1$/check_hdfs_capacity.php -h $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$
46
command_name check_aggregate
47
command_line php $USER1$/check_aggregate.php -f @STATUS_DAT@ -s 1 -t service -n $ARG1$ -w $ARG2$ -c $ARG3$
51
command_name check_rpcq_latency
52
command_line php $USER1$/check_rpcq_latency.php -h $HOSTADDRESS$ -p $ARG2$ -n $ARG1$ -w $ARG3$ -c $ARG4$
56
command_name check_nagios
57
command_line $USER1$/check_nagios -e $ARG1$ -F $ARG2$ -C $ARG3$
61
command_name check_webui
62
command_line $USER1$/check_webui.sh $ARG1$ $HOSTADDRESS$
66
command_name check_name_dir_status
67
command_line php $USER1$/check_name_dir_status.php -h $HOSTADDRESS$ -p $ARG1$
71
command_name check_oozie_status
72
command_line $USER1$/check_oozie_status.sh $HOSTADDRESS$ $ARG1$ $ARG2$
76
command_name check_webhcat_status
77
command_line $USER1$/check_webhcat_status.sh $HOSTADDRESS$ $ARG1$ $ARG2$
81
command_name check_hive_metastore_status
82
command_line $USER1$/check_hive_metastore_status.sh $HOSTADDRESS$ $ARG1$
86
command_name check_mapred_local_dir_used_space
87
command_line $USER1$/check_mapred_local_dir_used.sh $ARG1$ $ARG2$
91
command_name check_nodemanager_health
92
command_line $USER1$/check_nodemanager_health.sh $HOSTADDRESS$ $ARG1$
96
command_name check_resourcemanager_nodes_percentage
97
command_line $USER1$/check_resourcemanager_nodes_percentage.sh $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$