Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mdelves:monitoring:zabbix
zabbix-rhel
zabbix-server.init
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zabbix-server.init of Package zabbix-rhel
#! /bin/sh # # chkconfig: - 85 15 # description: zabbix server daemon # ### BEGIN INIT INFO # Provides: zabbix # Required-Start: $local_fs $network # Required-Stop: $local_fs $network # Default-Start: # Default-Stop: 0 1 2 3 4 5 6 # Short-Description: start and stop zabbix server # Description: Zabbix Server ### END INIT INFO # zabbix details ZABBIX=/usr/sbin/zabbix_server CONF=/etc/zabbix/zabbix_server.conf PIDFILE=/var/run/zabbix.pid # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -x $ZABBIX ] || exit 5 [ -e $CONF ] || exit 6 RETVAL=0 case "$1" in start) echo -n "Starting zabbix server: " daemon $ZABBIX -c $CONF RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/zabbix ;; stop) echo -n "Shutting down zabbix server: " killproc zabbix_server RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/zabbix ;; restart|reload) $0 stop $0 start RETVAL=$? ;; status) status zabbix_server RETVAL=$? ;; *) echo "Usage: $0 {start|stop|restart|reload|status}" exit 1 ;; esac exit $RETVAL
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor