15 lines
399 B
Bash
Executable File
15 lines
399 B
Bash
Executable File
#!/bin/bash
|
|
# Run service
|
|
BIN_DIR=${BIN_DIR:-/usr/local/bin}
|
|
ETC_DIR=${ETC_DIR:-/usr/local/etc}
|
|
LIB_DIR=${LIB_DIR:-/usr/local/lib}
|
|
|
|
echo "Creating host into zabbix"
|
|
${BIN_DIR}/zabbix_create_host.sh
|
|
|
|
${BIN_DIR}/check_email_send_delivery.sh local ${MAIL_SERVER}
|
|
${BIN_DIR}/check_email_send_delivery.sh incoming ${MAIL_SERVER}
|
|
${BIN_DIR}/check_email_send_delivery.sh outgoing ${MAIL_SERVER}
|
|
|
|
sleep 300
|