User Tools
Writing /app/www/public/data/meta/watchdogs/installing_watchdog_on_a_server.meta failed
watchdogs:installing_watchdog_on_a_server
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| watchdogs:installing_watchdog_on_a_server [2016/09/22 17:05] – mmcc | watchdogs:installing_watchdog_on_a_server [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Installing Watchdog on a server ====== | ||
| + | Author: Eoin Joy | ||
| + | |||
| + | **Ensure that there is a mysqld running on the server as well and that there is a watchdog database present on the instance, if you need to install mysqld : [[databaseandnetworkmanagement: | ||
| + | |||
| + | Get the latest Watchdog release build from the artifactory (http:// | ||
| + | |||
| + | Transfer this to the server you wish to install on. | ||
| + | scp WatchDog-REL-2.2.0.tar.gz scotty@qaerrigalapps1.crc:/ | ||
| + | Unpack and move to the folder / | ||
| + | tar -zxf WatchDog-REL-2.2.0.tar.gz | ||
| + | mv Watchdog / | ||
| + | Edit the " | ||
| + | vi / | ||
| + | Edit the new run.sh to point to the watchdog installation folder (e.g. / | ||
| + | vi / | ||
| + | Rename the installation folder " | ||
| + | mv Watchdog watchdog | ||
| + | Run the watchdog as a test | ||
| + | sudo / | ||
| + | Determine proper running of the watchdog, it should run through each resource in turn and determine whether to send an SNMP trap or clear, and at its finish will tell you if it sent any traps other than its heartbeat | ||
| + | Enable watchdog in crontab | ||
| + | sudo crontab -e | ||
| + | sudo */10 * * * * / | ||