Zabbix monitoring RPM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

zabbix_server 321B

123456789101112
  1. #!/bin/sh
  2. exec 2>&1
  3. if [ -x /usr/sbin/zabbix_server_mysql ]; then
  4. ZABBIX=/usr/sbin/zabbix_server_mysql
  5. elif [ -x /usr/sbin/zabbix_server_pgsql ]; then
  6. ZABBIX=/usr/sbin/zabbix_server_pgsql
  7. elif [ -x /usr/sbin/zabbix_server_sqlite3 ]; then
  8. ZABBIX=/usr/sbin/zabbix_server_sqlite3
  9. else
  10. exit 1
  11. fi
  12. $ZABBIX "$@"