aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix/scripts/zabbix.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix/scripts/zabbix.sh.sample')
-rw-r--r--net-mgmt/zabbix/scripts/zabbix.sh.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/scripts/zabbix.sh.sample b/net-mgmt/zabbix/scripts/zabbix.sh.sample
new file mode 100644
index 000000000000..58c0529b4099
--- /dev/null
+++ b/net-mgmt/zabbix/scripts/zabbix.sh.sample
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "${1}" in
+ start)
+ echo -n "zabbix "
+ zabbix_suckerd
+ zabbix_trapperd
+ ;;
+ stop)
+ killall zabbix_suckerd
+ killall zabbix_trapperd
+ ;;
+ *)
+ echo Usage: `basename ${0}` "{start|stop}"
+ ;;
+esac