check_logfiles: 3.7.5.1
[omd.git] / packages / omd / omd.init
blob97b7672cb7e534f4aa1e66ac5c142d1a67c2e56e
1 #!/bin/sh
2 # Startskript for OMD sites
3 # chkconfig: - 98 1
4 # description: OMD Open Monitoring Distribution
7 ### BEGIN INIT INFO
8 # Provides: omd
9 # Required-Start: $syslog
10 # Required-Stop: $syslog
11 # Should-Start: ntpdate
12 # Default-Start: ###DEFAULT_RUNLEVELS###
13 # Default-Stop: 1
14 # Short-Description: OMD sites
15 # Description: Start and stop the sites of the Open Monitoring
16 # Distribution (OMD)
17 ### END INIT INFO
19 case "$1" in
20 start)
21 echo "Starting all OMD monitoring sites:"
22 /usr/bin/omd "$1"
24 stop)
25 echo "Stopping all OMD monitoring sites:"
26 /usr/bin/omd "$1"
28 restart)
29 echo "Restarting all OMD monitoring sites:"
30 /usr/bin/omd "$1"
32 reload)
33 echo "Reloading all OMD monitoring sites:"
34 /usr/bin/omd "$1"
36 status)
37 echo "Checking state of all OMD monitoring sites:"
38 /usr/bin/omd "$1"
41 echo "Doing $1 on all OMD monitoring sites:"
42 /usr/bin/omd "$1"
44 esac