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.
 
 

13 lines
315 B

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