health-check-system

0.0.8 • Public • Published

Health Check System

CI

Circle CI

Install

$ npm install health-check-system

Support

  • Redis (https://github.com/LucasRodrigues/health-check-redis)
  • Mongodb (https://github.com/LucasRodrigues/health-check-mongodb)
  • Mssql (https://github.com/LucasRodrigues/health-check-mssql)
  • Mysql (https://github.com/LucasRodrigues/health-check-mysql)
  • RabbitMq (https://github.com/LucasRodrigues/health-check-rabbitmq)
  • ElasticSearch (https://github.com/LucasRodrigues/health-check-elastic-search)
  • Api (https://github.com/LucasRodrigues/health-check-api)

Usage

var healthCheckSystem = require('health-check-system');
 
var configuration = {
    redis: [
    {
        host: '127.0.0.1'
        port: 6379
    }
    ]
};
 
healthCheckSystem.do(configuration)
    .then(function (result){
        console.log(result)
    })
    .catch(function (error){
        console.log(error)
    })

Json Format

{
    "redis": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-redis)
    ],
    "mongodb": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-mongodb)
    ],
    "elasticSearch": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-elastic-search)
    ],
    "mssql": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-mssql)
    ],
    "mysql": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-mysql)
    ],
    "rabbitMq": [
        // For object format visit (https://github.com/LucasRodrigues/health-check-rabbitmq)
    ],
    "api": [
     // For object format visit (https://github.com/LucasRodrigues/health-check-api)
    ]
}

Client

Command line

https://github.com/LucasRodrigues/health-check-system-cmd

Readme

Keywords

Package Sidebar

Install

npm i health-check-system

Weekly Downloads

5

Version

0.0.8

License

MIT

Last publish

Collaborators

  • lucastinik