Giter Club home page Giter Club logo

dns-check's Introduction

sensu

Build Status Gem Version MIT Licensed Join the chat at https://slack.sensu.io/

โš ๏ธ ANNOUNCEMENT - Sensu 1.x has reached End-Of-Life (December 31st, 2019)

The Sensu 1.x project reached end-of-life on December 31st, 2019. The existing package repositories became unreachable on January 6th, 2020. Please see our blog post for more details: https://blog.sensu.io/announcing-the-sensu-archives

Sensu 1.x has been superseded by Sensu Go.

As always, we want to hear from the Community and please reach out on Slack or Discourse if you have any questions or concerns.

Sensu

A simple, malleable, and scalable framework for composing the monitoring system you need.

Sensu is offered in two flavors:

  • Sensu Core - this open source project
  • Sensu Enterprise - a full-featured commercial implementation, built on Sensu Core

Installation

Sensu supports a number of Unix-like platforms, as well as Windows. Please see the list of supported platforms for installation instructions.

Documentation

Please refer to the online documentation for details on configuring and operating Sensu.

Getting Help

If you have questions not covered by the documentation, the Sensu community is here to help. Please check out our chat on Slack, or the sensu-users discussion list.

Commercial support is also available. See the support section of our website for more detail.

Contributing

Please observe these guidelines on contributing.

License

Sensu Core is released under the MIT license.

dns-check's People

Contributors

c-kruse avatar jspaleta avatar thoward avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

dns-check's Issues

Initial Implementation

Overview

Sensu Check to provide DNS latecy metrics and basic domain resolution health check

References

Configuration

  • --domain comma delimited list of domains
  • --server comma delimited list of dns servers to use for queries
  • --class specific record class to query default to IN
  • --type specific record type to query default to A
  • --port dns server port to query, default to 53
  • --validate-dnssec return insecure-status if any domain entries are found to be insecure
  • --insecure-status default to 1
  • --validate-resolution return unresolved-status if any domain entries are unresolved
  • --unresolved-status default to 1

Configuration Logic & Validation

  • Validate --domain is set
  • Validate --server is set
  • Validate --class is in acceptable list of strings
  • Validate --type is in acceptable list of strings
  • Validate name servers list in --server are valid name servers

Metrics

  • dns_response_time guage: query response_time for a given query in units of seconds only include if domain resolves
  • dns_resolved guage: 0 - success, 1 - failure
  • dns_secure guage: 0 - secure, 1 - insecure

required tags

  • domain: query domain
  • record_class: query record class
  • record_type: query record type
  • server: name server queried

Health Checks

dnssec validation

  • when --validate-dnssec option in use the check can return non-zero to indicate at least one domain is not secure

resolution validation

  • when --validate-resolution option in use the check can return non-zero to indicate at least one domain did not resolve
  • use future metric threshold feature to set min threshold for a specific domain.

Catalog Templates

  • example using common public domain servers to resolve domain

TODO

TBD:

Out of scope:

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.