Skip to content

meetings/nag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nag

Simple tool to poll services and report errors (by email and sms) if service is unreachable.

Installation

  1. Clone from the Github.

  2. Install dependencies with npm.

  3. Set up configuration (see the next chapter).

Configuration

Nag expects to find a properly formatted JSON configuration file in /etc/nag.conf with following properties:

  • poll_interval - The time to wait between polling services (in ms).

  • parallel_limit - The number of parallel poll requests.

  • mail_sender - Alert mail from field.

  • mail_recipients - A list of comma separated mail recipients.

  • mail_server_opts - A JSON object:

    • user - Login name.
    • password - Password.
    • host - Mail server address.
    • ssl - Value of either "true" of "false".
  • sms_recipients - A JSON array of phone numbers to send text message to.

TODO

  • Write decent readme

  • Validate configuration

About

Service checking and problem reporting tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published