Welcome to my Blog

This Blogs gives the summary of the latest Technologies available in the market from the different website.you can post your questions/requests anything related to the Technology

Set Node uptime as monitoring service

Setting uptime as monitoring service 
Following article illustrates how to install and configure node uptime to monitor your application
Installation 
  1. Clone uptime by using following command git clone https://github.com/fzaninotto/uptime.git
  2. cd uptime
  3. npm install
Uptime uses mongodb database to store events and data information.

Installation of MongoDb:
Setup varies for each operating system. 
  1. Setup instructions for ubantu : http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
  2. setup instructions for windows : http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Configuration of uptime and database:
  1. Creating uptime database and adding user
    1. From shell/cmd window type "mongo"
    2. Use uptime
    3. db.addUser('uptimeuser','password');
    4. run mongo mongod.exe --dbpath D:\MangoDB\Data
  2. Configuring uptime config
    1. Go to uptime/config folder
    2. Open the file default.yaml
    3. Update your database name,user name and password
Running Uptime:
  1. Make sure Mongodb is running 
  2. Go to uptime folder and run "node app"( this command allows run uptime on local machine)
  3. Go to http://localhost:8082 ( by default uptime uses 8082 port ,you can change port from yaml config file)
  4. Check out dashboard
Creating Monitoring tests:
  1. Go to http://localhost:8082
  2. Initially it display empty dashboard as shown the below figure


  4.select on create event and Fill the form as shown in the below sample

5. You can verify events and monitoring urls and data by selecting respective tabs on top.
Configuring plugins:

Email Alerts:
Deployment:
Reports: 
videos: http://vimeo.com/39302164

References:



0 comments:

Post a Comment