Commit Graph

12 Commits

Author SHA1 Message Date
Christoph Eck
79676357f3 slack: webhookurl and sendSlack
- GetComponentStatus fix
- get main url from api definition for slack post
- fix run send slack
2020-01-27 18:36:25 +01:00
Christoph Eck
2963a9f610 Merge branch 'feat/slack' into custom
# Conflicts:
#	cli/main.go
2020-01-27 16:15:33 +01:00
Alexander Trost
c186e4b292 fixed sirupsen logrus pkg
switched to go mods

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-01-08 23:54:38 +01:00
A. Feldmann
33bb722e06 go fmt 2020-01-08 17:48:04 +01:00
Alexander Trost
3c343fb0a2 incident: fixed json struct tag
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-01-08 17:45:12 +01:00
Mac Chiang
43510e18e2 Add slack 2019-12-18 11:54:43 +08:00
Cristi Vîjdea
c2c9898d68 fix component status parsing
The Cachet API returns component status as a string,
but cachet-monitor attempts to parse it as int,
resulting in "cannot unmarshal string into Go value of type int".
This applies at least as early as cachet 2.3.12 - 29/06/2017.
2017-10-05 21:02:13 +00:00
Matej Kramny
b3bc1d4405 - compile message templates
- send metrics to cachet
- fix http default configuration
2017-02-05 19:27:01 -08:00
Matej Kramny
36bf228599 a compiling proof of concept
- abstract type
- http, tcp, icmp & dns monitor types
- unmarshal from json into any monitor type
2017-02-04 18:23:53 -08:00
Matej Kramny
0ceccccd45 More config options, markdown in incidents
- Specify method to ping with
- Body regex match
- Markdown in incident messages
- Update existing incidents
2016-05-19 18:40:01 +01:00
Matej Kramny
2d62fc7443 refactoring 2016-05-19 12:20:56 +01:00
Matej Kramny
267a6cb6b3 better packaging
- update readme
2016-05-18 23:54:55 +01:00