Git Product home page Git Product logo

Comments (5)

wanghonglei5181 avatar wanghonglei5181 commented on April 27, 2024
probe {
  name: "DNS_sina.cn"
  type: DNS
  query_type: 1
resolved_domain: "example.com"
  targets {
    host_names: "10.10.10.10"
  }
  interval_msec: 5000  # 5s
  timeout_msec: 1000   # 1s
}
F0514 13:39:41.935059   10149 cloudprober.go:178] Error initializing cloudprober. Err: line 31: unknown field name "query_type" in proto.ProbeDef

from cloudprober.

wanghonglei5181 avatar wanghonglei5181 commented on April 27, 2024

https://groups.google.com/forum/#!topic/cloudprober/dpVr6eCwxOg

from cloudprober.

manugarg avatar manugarg commented on April 27, 2024

Put DNS prober specific config under dns_probe:

probe {
  name: "DNS_sina.cn"
  type: DNS
  targets {
    host_names: "10.10.10.10"
  }
  interval_msec: 5000  # 5s
  timeout_msec: 1000   # 1s

  dns_probe {
    query_type: A
    resolved_domain: "example.com"
  }
}

query_type enum is defined here:

from cloudprober.

manugarg avatar manugarg commented on April 27, 2024

Assuming my suggestion worked, closing this.

from cloudprober.

wanghonglei5181 avatar wanghonglei5181 commented on April 27, 2024

@manugarg Thanks!!

from cloudprober.

Related Issues (20)

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.