Open esfateev opened 4 years ago
This also happens when using the sample monitor... is this software in a working state at all?
Same exact problem, I even copy pasted existing ymls into the working dir and it throws the same error:
DEBU[0000] Running monitor: simplemon FATA[0000] Unable to parse monitor correctly: json: unsupported type: map[interface {}]interface {}
Line 59 on https://github.com/mihirsoni/odfe-monitor-cli/blob/master/commands/push.go is where the fatal is being thrown.
@mentalburden Could you provide sample YAML monitor ? You can redact the other details. Believe must be missing some new fields from alerting.
@mihirsoni The sample monitor in the README does not work.
Hello,
The same problem occurred to me when I used this by the Releases section, but when I cloned the repo to my local and run it, it was perfectly fine.
I realized Releases is 5 commits behind the master, so I forked it and released a new package up until the latest commit.
Working fine on my end: https://github.com/emretanriverdi/odfe-monitor-cli
I hope it works for you too! @esfateev @adam-turner-j @mentalburden
Hi! I've got error "json: unsupported type: map[interface {}]interface{}".
Applied monitor template:
Similar problem described here: https://github.com/mattn/anko/issues/264 Could we fix? Might migrate from encoding\json to github.com/json-iterator/go ?
Thanks! BR, Eugene Fateev