Socket
Book a DemoInstallSign in
Socket

curtain-twitcher

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curtain-twitcher

NodeJs tool to parse a configuration file with definitions of alerts based on data available in Graphite

0.2.6
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

curtain-twitcher

NodeJs tool to send structured data to consul's KV store

Installation

npm i curtain-twitcher -g

Usage

Usage: curtain-twitcher [options] <host> <path> <file>

<host> is the address of the consul host

<path> is the root path for the consul key/value store. The path is used as a prefix to the key/value pair details held in the configuration <file>

<file> is the file path to the key/value pair configuration file. This a YML structured file that should mirror the structure required in the consul key/value store.

Options:

-h, --help output usage information

-V, --version output the version number

-p, --port <port> Port to query the consul host on (defaults to 8500)

Example

curtain-twitcher consul.my.org my_app/environments envs.yml

with the envs.yml containing the following:

production:
  url: prod.my_app.org
  servers:
    server1: prod01.my_app.org
    server2: prod02.my_app.org
    server3: prod03.my_app.org
acceptance:
  url: int.my_app.org
  servers:
    server1: int01.my_app.org
    server2: int02.my_app.org

will produce the following key value pairs in consul:

my_app/environments/production/url prod.my_app.org
my_app/environments/production/servers/servers1 prod01.my_app.org
my_app/environments/production/servers/servers2 prod02.my_app.org
my_app/environments/production/servers/servers3 prod03.my_app.org
my_app/environments/integration/url int.my_app.org
my_app/environments/integration/servers/servers1 int01.my_app.org
my_app/environments/integration/servers/servers2 int02.my_app.org

Keywords

alerting

FAQs

Package last updated on 09 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.