Git Product home page Git Product logo

condor_graphite's Introduction

HTCondor CGroup Reader

Program for reading stats about running HTCondor jobs on a machine from their CGroups and publishing this to Graphite.

Prerequisites

HTCondor must be configured to use CGroup-tracking of jobs. See this part of the condor manual for information on how to set this up. Note that this does not mean that CGroup limits must be enforced, just that condor classifies its jobs into cgroups so statistics can be gathered.

Usage

condor_cg_graphite [-p PATH] [-c CGROUP] GRAPHITE_HOST

GRAPHITE_HOST is either <hostname>:<port> or just <hostname> (with the port
defaulting to the standard line-protocol port 2003)

Options:
	-c CGROUP: condor cgroup name (default htcondor)
	-p PATH: metric path prefix in graphite (default htcondor.cgroups)
	-h show this usage help

Issues and Limitations

This software sends plaintext UDP or TCP packets to graphite, not pickle-protocol so graphite must be configured accordingly.

Assumes that the condor-cgroup name is derived in a consistent manner, I'm not sure if this is a stable interface in the HTCondor source code (it may change one day?)

Installation

$ cmake .
$ make

or

$ cmake .
$ make package

to get an RPM

Ideas

We may want to gather information about the job-owner and other attributes from each cgroup (how?)

Can we date each cgroup's creation time?

condor_graphite's People

Stargazers

 avatar

Watchers

 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.