pwmm

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

README

PWMM - Pingdom window maintenance manager

Description

Simple program written in GO to simulate windows maintenances pausing and unpausing checks of pingdom.

It is my first program in GO and I have make it rushed, so less complaints and more PR's!!

install

You can clone this repo, install go and build it or you can download the linux precompiled binary.

how to use

You must define a yaml configuration with pingdom credentials and events (windows maintenance) check example.yml

credentials:
  apikey: pingdom api key
  user: pingdom user
  password: pingdom password

The windows maintenances are defined like events with three params: the exact name of pingdom check, and the start date & end dates. Always use the timezone of the OS that execute the program. IMPORTANT respect the time format!

events:
  - name: "my website - home"
    startdate: "08-08-2019 03:55"
    finishdate: "08-08-2019 08:10"

TODO

  • docker image
  • add tests
  • automate compilation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL