Because monitor runs in background mode it is necessary to determine its process ID in order to terminate it.


Example

E.g.

[admin@fs123-h1-5 ~]$ ps -ef | grep monitor

root        7160       1  0 17:45 ?        00:00:01 ./monitorHealth monitor -vu [email protected] -vi js021-vc1.st.jsoft.com -m js021-msa1.st.jsoft.com --interval 30 --renotify-timeout 1440

admin       7353    7312  0 18:04 pts/0    00:00:00 grep --color=auto monitor

[admin@fs123-h1-5 ~]$

.

[admin@fs123-h1-5 ~]$ sudo kill -9 7160

[sudo] password for admin: 

[admin@fs123-h1-5 ~]$


Note: If the frequency of email alerts is modified, monitor must be restarted to allow the change to take place.