Coder Social home page Coder Social logo

alertmanager-resource's People

Contributors

frodenas avatar lodener avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alertmanager-resource's Issues

Unsupported long argument

After the update of alertmanager to v0.13.0, the amtool seems to be no longer accepting the '--author' flag as it is. Whenever we call the resource, it returns the following error:

amtool: error: unknown long flag '--author'

It might be that the command (silence add) has to precede the flags?

Doesn't support basic auth of alertmanager.url?

Hi.

My alertmanager is set to be using basic auth and I setup pipeline as following:

jobs:
- name: job-hello-world
  public: true
  plan:
  - get: time
    trigger: true
  - put: silence-test-alerts
    resource: am
    params:
      operation: silence
      matchers: "service=cf"
      expires: 30m

resources:
- name: am
  type: alertmanager-resource
  source:
    url: http://admin:[email protected]:9093/
- name: time
  type: time
  source:
    interval: 1m
    
resource_types :
- name: alertmanager-resource
  type: docker-image
  source:
    repository: frodenas/alertmanager-resource

but concourse(amtool) prints error.

0e207f34e107: Pull complete
154c7d3824e9: Pull complete
d1fdece7f9a9: Pull complete
Digest: sha256:64d9a5163223cedb990a20e07fa171aaf9e90925ddea5d55a62732ead65745cd
Status: Downloaded newer image for frodenas/alertmanager-resource@sha256:64d9a5163223cedb990a20e07fa171aaf9e90925ddea5d55a62732ead65745cd

Successfully pulled frodenas/alertmanager-resource@sha256:64d9a5163223cedb990a20e07fa171aaf9e90925ddea5d55a62732ead65745cd.

amtool: error: Get http://172.21.185.33:9093/api/v1/silences?filter=: dial tcp 172.21.185.33:9093: getsockopt: connection refused

I can get a response successfully by curl.

$ curl http://admin:[email protected]:9093/api/v1/silences
{"status":"success","data":[]}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.