diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/gluster-commands.cfg | 5 | ||||
-rw-r--r-- | config/gluster-templates.cfg | 1 | ||||
-rw-r--r-- | config/host-monitoring-services.in | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index d2ebdce..ac61fc5 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -25,6 +25,11 @@ define command { } define command { + command_name check_remote_host + command_line $USER1$/gluster/check_remote_host.py -H $HOSTADDRESS$ +} + +define command { command_name host_service_handler command_line $USER1$/gluster/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n "$SERVICEDESC$" } diff --git a/config/gluster-templates.cfg b/config/gluster-templates.cfg index b8b47bc..6f968ca 100644 --- a/config/gluster-templates.cfg +++ b/config/gluster-templates.cfg @@ -12,6 +12,7 @@ define host{ define host { name gluster-host use gluster-generic-host + check_command check_remote_host register 0 _gluster_entity Host } diff --git a/config/host-monitoring-services.in b/config/host-monitoring-services.in index 788e9e7..1ccbcb7 100644 --- a/config/host-monitoring-services.in +++ b/config/host-monitoring-services.in @@ -1 +1 @@ -{"serviceList":["Cpu Utilization", "Disk Utilization", "Memory Utilization", "Network Utilization", "Swap Utilization", "Gluster Management", "Quota", "NFS", "Self-Heal", "SMB", "CTDB"]} +{"serviceList":[]} |