@dvrylc/sentinel
A command-line site monitor
Last updated a year ago by dvrylc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dvrylc/sentinel 
SYNC missed versions from official npm registry.

Sentinel

npm (scoped) license

A command-line site monitor

Installation

Sentinel requires Node.js v8.5 and above. To check your Node.js version, run node -v.

$ npm install -g @dvrylc/sentinel

Usage

$ sentinel [options]

A command-line site monitor
Config file: path/to/your/config/file

Options:

  -V, --version  output the version number
  -s, --setup    setup config file in the home directory
  -h, --help     output usage information

Configuration

Sentinel relies on a config file for the list of sites to monitor, as well as some user-configurable settings.

When you first run Sentinel, it will prompt you to setup a config file in your home directory.

Subsequently, to locate the config file, run sentinel -h.

To start afresh, run sentinel -s. Sentinel will prompt you to replace your existing config file with a fresh one.

Configuration fields

The config file should always be a valid JSON object.

  • sites (array): Array of absolute (http or https) URLs to monitor

License

MIT

Current Tags

  • 1.0.4                                ...           latest (a year ago)

5 Versions

  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |