nasne-checker

3.0.1 • Public • Published

nasne-checker

npm version

A tool to check resavation on nasne and post to slack.

Install

$ npm i nasne-checker -g

Usage

Usage: nasne-checker [options]

Options:

  -h, --help             output usage information
  -V, --version          output the version number
  --nasne <host>         Nasne host (required)
  --slack <url>          Slack webhook url (required)
  --cron <format>        Cron format (optional)
  --timezone <timezone>  When using cron option (Default is "Asia/Tokyo")

Example:

$ nasne-checker \
  --nasne 192.168.10.10 \
  --slack https://hooks.slack.com/services/XXX/XXX/XXXXX \
  --cron "00 20 * * 1,3,5"

Changelog

  • 1.0.0: First release.
  • 1.1.0: Support the case the reservation does not exist.
  • 1.1.1: Remove nasne module.
  • 1.1.2: Fix the message.
  • 1.1.3: Fix interval option bug.
  • 1.2.0: Add cron option and remove interval option.
  • 1.2.1: Fix a bug that is executed first once when the cron option is enabled.
  • 1.2.2: Update dependencies
  • 2.0.0: Update dependencies and drop support for Node.js 10.x and 11.x.
  • 3.0.0: Support for multiple nasne.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.11latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.11
3.0.01
2.0.60
2.0.50
2.0.41
2.0.30
2.0.20
2.0.11
2.0.01
1.2.20
1.2.10
1.2.00
1.1.30
1.1.20
1.1.11
1.1.00
1.0.01

Package Sidebar

Install

npm i nasne-checker

Weekly Downloads

2

Version

3.0.1

License

MIT

Unpacked Size

420 kB

Total Files

11

Last publish

Collaborators

  • abcang