Skip to content

kandangjamur/pandik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandik

Monitoring tool for web services. Self-hosted pingdom alternative.

Installation

If you have go tools installed to your system, enter the command bellow to your terminal.

$ go get github.com/oguzbilgic/pandik

Or you can just download the compiled binary to your computer.

Configuration

Pandik uses ~/.pandik.json file for configuration by default, but you can overwrite this by using -c command file with path to your configuration file. Here is a sample configuration file:

{
  "api": {
    "format": "json",
    "port": 9571
  },
  "monitors": [
    {
      "type": "http-status",
      "url": "webapp.com",
      "freq": "5m"
    }
  ],
  "notifiers": [
    {
      "type": "web",
      "address": "mydomain.com/callback"
    }
  ]
}

Usage

Locate your configuration file and run the comman bellow

$ pandik -c /path/to/configuration.json

To run pandik as a deamon on your system use the -d flag

$ pandik -d -c /path/to/configuration.json

By default pandik uses ~/.pandik.log for deamon's log file, but this can be overwritten by -l flag

$ pandik -d -l /path/to/log.file -c /path/to/configuration.json

License

The MIT License (MIT)

About

monitoring tool for web services

Resources

License

Stars

Watchers

Forks

Packages

No packages published