chucklebrothers
v0.0.4
Published
Server upstate monitor
Downloads
4
Maintainers
Readme
ChuckleBrothers
ChuckleBrothers is a simple monitor to test the upstate of a server.
Why? Humour! But hey, its functional too :)
Installation
$ npm install -g chucklebrothers
Usage
# To me.. to you
$ chuckle
Configuration
The ChuckleBrothers are configured with the file chuckle.json
in the current working directory.
Example chuckle.json
{
"barry": [
{
"name": "local",
"endpoint": "http://127.0.0.1:3101",
"seconds": 60,
"notifiers": [
{
"type": "console",
"only-errors": false
}
]
}
],
"paul": {
"port": 3101
}
}
Options
Barry
BarryChuckle is the client component, and as we love Barry, there can be many.
| Option | Description | | --------- | ---------------------------------------- | | name | A descriptive name for Barry. | | endpoint | Where to find Paul. | | seconds | How long between Barry asking Paul. | | notifiers | Who to notify when Barry and Paul speak. |
Notifiers
Currently there is only one notifier type, the console. Example configuration shown above.
Paul
PaulChuckle is the server component, and as we love Paul, there can only be one and only.
| Option | Description | | --------- | ------------------------ | | port | Where Paul is listening. |