summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorBala.FA <barumuga@redhat.com>2014-03-13 17:01:12 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:36 +0530
commit940eef887f5142d980c91e95193e102c41d18808 (patch)
tree512ce98580612d9d48964776b263c5c7c0a9f949 /config/gluster-commands.cfg
parent981d905fd08d4565f306344c11c560a8479cbf75 (diff)
all: import plugins/templates/config from githubv0.1.0
All plugins/templates/config are imported from https://github.com/gluster-rhsc/nagios-plugin.git Change-Id: Icbbf23c0595e2b36548015489341d9ff823bac50 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/6
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg35
1 files changed, 35 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
new file mode 100644
index 0000000..5c335c7
--- /dev/null
+++ b/config/gluster-commands.cfg
@@ -0,0 +1,35 @@
+### gluster nagios template ###
+define command {
+ command_name check_disk_and_inode
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_and_inode
+}
+
+define command {
+ command_name check_cpu_multicore
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cpu_multicore
+}
+
+define command {
+ command_name check_memory
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_memory
+}
+
+define command {
+ command_name check_swap_usage
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap_usage
+}
+
+define command {
+ command_name check_interfaces
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_interfaces
+}
+
+define command {
+ command_name check_remote_host
+ command_line $USER1$/check_remote_host.py -H $HOSTADDRESS$
+}
+
+define command {
+ command_name host_service_handler
+ command_line $USER1$/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n $SERVICEDESC$
+}