Uptime Kuma is an excellent free server monitoring system. I needed it running on EC2 – a fairly straightforward install from source as long as you have all the right pieces of the puzzle – which include the process manager for nodejs:
cd ~ec2-user
sudo dnf install -y git
sudo dnf install nodejs
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup
sudo npm install -g pm2
pm2 install pm2-logrotate
pm2 start server/server.js –name uptime-kuma
pm2 save
pm2 startup
sudo env PATH=$PATH:/usr/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u ec2-user –hp /home/ec2-user