87 |
of the following action arguments; monit will then execute the |
of the following action arguments; monit will then execute the |
88 |
action and exit without transforming itself to a daemon. |
action and exit without transforming itself to a daemon. |
89 |
|
|
90 |
|
|
91 |
B<start all> |
B<start all> |
92 |
Start all services listed in the control file and enable |
Start all services listed in the control file and |
93 |
monitoring for them. If the group option is set, only |
enable monitoring for them. If the group option is |
94 |
start and enable monitoring of services in the named group. |
set, only start and enable monitoring of services in |
95 |
|
the named group. |
96 |
|
|
97 |
B<start name> |
B<start name> |
98 |
Start the named service and enable monitoring for it. The |
Start the named service and enable monitoring for |
99 |
name is a service entry name from the monitrc file. |
it. The name is a service entry name from the |
100 |
|
monitrc file. |
101 |
|
|
102 |
B<stop all> |
B<stop all> |
103 |
Stop all services listed in the control file and disable |
Stop all services listed in the control file and |
104 |
their monitoring. If the group option is set, only stop and |
disable their monitoring. If the group option is |
105 |
disable monitoring of the services in the named group. |
set, only stop and disable monitoring of the services |
106 |
|
in the named group. |
107 |
|
|
108 |
B<stop name> |
B<stop name> |
109 |
Stop the named service and disable its monitoring. The |
Stop the named service and disable its monitoring. |
110 |
name is a service entry name from the monitrc file. |
The name is a service entry name from the monitrc |
111 |
|
file. |
112 |
|
|
113 |
B<restart all> |
B<restart all> |
114 |
Stop and start I<all> services. If the group option is |
Stop and start I<all> services. If the group option |
115 |
set, only restart the services in the named group. |
is set, only restart the services in the named group. |
116 |
|
|
117 |
B<restart name> |
B<restart name> |
118 |
Restart the named service. The name is a service entry name |
Restart the named service. The name is a service entry |
119 |
from the monitrc file. |
name from the monitrc file. |
120 |
|
|
121 |
B<monitor all> |
B<monitor all> |
122 |
Enable monitoring of all services listed in the |
Enable monitoring of all services listed in the |
123 |
control file. If the group option is set, only start |
control file. If the group option is set, only start |
124 |
the services monitoring in the named group. |
the services monitoring in the named group. |
125 |
|
|
126 |
B<monitor name> |
B<monitor name> |
127 |
Enable monitoring of the named service. The name is a |
Enable monitoring of the named service. The name is |
128 |
service entry name from the monitrc file. Monit will also |
a service entry name from the monitrc file. Monit will |
129 |
enable monitoring of all services this service depends on. |
also enable monitoring of all services this service |
130 |
|
depends on. |
131 |
|
|
132 |
B<unmonitor all> |
B<unmonitor all> |
133 |
Disable monitoring of all services listed in the |
Disable monitoring of all services listed in the |
134 |
control file. If the group option is set, only disable |
control file. If the group option is set, only disable |
135 |
monitoring of services in the named group. |
monitoring of services in the named group. |
136 |
|
|
137 |
B<unmonitor name> |
B<unmonitor name> |
138 |
Disable monitoring of the named service. The name is a |
Disable monitoring of the named service. The name is |
139 |
service entry name from the monitrc file. Monit will also |
a service entry name from the monitrc file. Monit |
140 |
disable monitoring of all services that depends on this |
will also disable monitoring of all services that |
141 |
service. |
depends on this service. |
142 |
|
|
143 |
B<status> |
B<status> |
144 |
Print status information for each service. If the |
Print status information for each service. If the |
153 |
Kill a monit daemon process |
Kill a monit daemon process |
154 |
|
|
155 |
B<validate> |
B<validate> |
156 |
Check all services listed in the control file. This action is |
Check all services listed in the control file. This |
157 |
also the default behavior when monit runs in daemon mode. |
action is also the default behavior when monit runs |
158 |
|
in daemon mode. |
159 |
|
|
160 |
|
|
161 |
=head1 WHAT TO MONITOR |
=head1 WHAT TO MONITOR |
644 |
|
|
645 |
=back |
=back |
646 |
|
|
647 |
If the test should validate to true then the selected action is |
If the <TEST> should validate to true then the selected action is |
648 |
executed. You must select the action to be executed from the list |
executed. You must select an action to be executed from this |
649 |
below: |
list: |
650 |
|
|
651 |
=over 4 |
=over 4 |
652 |
|
|
2357 |
optional statements is not important. |
optional statements is not important. |
2358 |
|
|
2359 |
|
|
2360 |
=head1 Monit with Heartbeat |
=head1 MONIT WITH HEARTBEAT |
2361 |
|
|
2362 |
You can download I<heartbeat> from |
You can download I<heartbeat> from |
2363 |
http://www.linux-ha.org/download/. It might be useful to have a |
http://www.linux-ha.org/download/. It might be useful to have a |