Code Monkey home page Code Monkey logo

condorbeat's Introduction

Condorbeat

Condorbeat is a tool to collect raw ClassAds from HTCondor on a defined period and publish them to a variety of outputs, including Kafka, Logstash, and Elasticsearch. Supported ClassAds include:

  • Curent jobs in the queue (condor_q)
  • Completed jobs (condor_history)
  • Machine, daemons, etc (condor_status)

Running

The fastest way to get condorbeat running is with Docker, using the retzkek/condorbeat image off Docker Hub and bind-mount in your configuration file:

docker pull retzkek/condorbeat
docker run -v /path/to/condorbeat.yml:/condorbeat/condorbeat.yml retzkek/condorbeat

See instructions below for building the binary from source otherwise.

Configuration

Condorbeat-specific options are under the condorbeat section. For all other options see the Beats documentation

  • period time between ClassAd collection in Go time.Duration format (default 68s).
  • pool HTCondor collector/central manager to query. Leave blank for local machine (default).
  • checkpoint_file name of file to store checkpoints (last data collection) under data directory (default checkpoints).

Queue

Current jobs in the queue (condor_q).

  • classads collect job classads (default true).

History

Collect completed jobs (condor_history). Note that condor_history is not very efficient at collecting "jobs completed since time t" so it's preferable to use filebeat directly on the schedd to collect the history spool file in realtime.

  • classads collect job classads (default true).
  • limit maximum number of job histories to collect during each period.

Status

Machine, daemon, and any other classads (condor_status). Provide a list of ad types to collect. Default:

- type: Collector
- type: Scheduler
- type: Negotiator
  • type daemon/classAd type (MyType).
  • constraint optional constraint to apply

Building

To build a stand-alone executable for your current platform run make.

TODO: upgrade to libbeat 6.5+ to take advantage of the better cross-platform release build.

condorbeat's People

Contributors

retzkek avatar

Watchers

 avatar  avatar  avatar

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.