glenmurphy / lographer

General purpose remote logger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server install

  • install MongoDB If you have trouble try this
  • npm install mongodb
  • edit /etc/mongod.conf to bind to the right IP addresses
  • Edit startServer in logserver.js to contain the right IPs (you don't want this world-writable)
  • Run logserver.js (example systemd config included)

Client logger install

  • Put the loghealth.js files on your servers, customize the hostname to point to your server
  • Set up systemd to run them
  • npm install ssh2 (in the /sshbot/ directory if necessary)
  • Edit deploy.js on your dev machine accordingly

About

General purpose remote logger


Languages

Language:JavaScript 69.3%Language:HTML 30.7%