19 |
check host oracle with address 192.168.1.5 |
check host oracle with address 192.168.1.5 |
20 |
if failed port 1521 protocol tns then alert |
if failed port 1521 protocol tns then alert |
21 |
|
|
22 |
* When the alert handler failed, add event to the queue and try the |
* When the alert handler failed, monit can optionaly add event to |
23 |
delivery next cycle until succeeded. |
the queue and try the delivery next cycle until succeeded. To |
24 |
|
enable the event queue, use 'set eventqueue' statement. Example: |
25 |
|
set eventqueue |
26 |
|
basedir /var/monit |
27 |
|
slots 5000 |
28 |
|
|
29 |
* Send alert when monit agent was stopped, started or reloaded. |
* Send alert when monit agent was stopped, started or reloaded. |
30 |
|
|