summaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix2/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix2/scripts')
-rw-r--r--net-mgmt/zabbix2/scripts/dbsetup.sh5
-rw-r--r--net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample14
-rw-r--r--net-mgmt/zabbix2/scripts/zabbix.sh.sample16
3 files changed, 0 insertions, 35 deletions
diff --git a/net-mgmt/zabbix2/scripts/dbsetup.sh b/net-mgmt/zabbix2/scripts/dbsetup.sh
deleted file mode 100644
index 4ae8e4381893..000000000000
--- a/net-mgmt/zabbix2/scripts/dbsetup.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-echo "create database zabbix;" | mysql
-cat mysql/schema.sql | mysql zabbix
-cat data/data.sql | mysql zabbix
diff --git a/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample b/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample
deleted file mode 100644
index e5728bd24051..000000000000
--- a/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- echo -n "zabbix-agent "
- zabbix_agentd
- ;;
- stop)
- killall zabbix_agentd
- ;;
- *)
- echo Usage: `basename ${0}` "{start|stop}"
- ;;
-esac
diff --git a/net-mgmt/zabbix2/scripts/zabbix.sh.sample b/net-mgmt/zabbix2/scripts/zabbix.sh.sample
deleted file mode 100644
index 58c0529b4099..000000000000
--- a/net-mgmt/zabbix2/scripts/zabbix.sh.sample
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/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