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