Very simple way to keep an eye on your WebDirect server. Recieve a warning email whenever Filemaker WebDirect Server is down.
This application checks to make sure Filemaker WebDirect Server is running. It goes to your Filemaker Webdirect Sample Database page and checks that it's live. If the server is down, application emails you a warning email with a PNG screenshot of the page attached. It uses Node JS, Headless Chrome, Puppeteer and Nodemailer.
Must have Google Chrome Must have Node JS
-
Download / clone the repository to c:\program files\webdchecker\
-
Install Node and Chrome
-
Navigate to the repository from the command line.
-
Add Puppeteer to your directory with: node i Puppeteer
-
Add Nodemailer to your directory with: node i Nodemailer
Edit config.js
- Set WebDirect sample page
- Set email parameters
- Set string to check against (normally Tasks for the Filemaker test Database)
Add the schedule in to task scheduler to run the index.js file from this directory with the frequency of your choice.
- program "C:\Program Files\nodejs\node.exe"
- parameters "C:\program files\webdchecker\index.js"