Coder Social home page Coder Social logo

ganglia / ganglia_contrib Goto Github PK

View Code? Open in Web Editor NEW
149.0 149.0 74.0 1.16 MB

Repository of other user-contributed tools and programs

Python 30.27% Perl 3.58% Shell 1.69% Go 3.89% Makefile 0.38% Elixir 0.04% HTML 47.62% CSS 0.16% Java 7.20% Ruby 5.17%

ganglia_contrib's People

Contributors

daaku avatar dinomite avatar earonesty avatar gilles avatar jbuchbinder avatar jerius avatar kamorin avatar lreed avatar m0zes avatar mconigliaro avatar rkrombho avatar roeezab avatar sejeff avatar skreuzer avatar tedski avatar vuksanv avatar vvuksan avatar

Stargazers

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

Watchers

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

ganglia_contrib's Issues

E: Unable to locate package apache2

sudo docker build -t gmetad-gangliaweb gmetad-gangliaweb/.
Sending build context to Docker daemon 17.41 kB Step 1 : FROM debian:jessie ---> 9dfe4b484ffc Step 2 : MAINTAINER Vladimir Vuksan <[email protected]> ---> Using cache ---> af70ab85d014 Step 3 : COPY config /config ---> Using cache ---> 4d2c6f972b53 Step 4 : RUN apt-get update ---> Using cache ---> 393c08774ebf Step 5 : RUN apt-get upgrade -y ---> Using cache ---> dc16b05415a5 Step 6 : RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 ---> Running in 116a4fe8ca56 Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package apache2 The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y apache2' returned a non-zero code: 100

HTTP Redirect

Can you set the root html directory to redirect requests to /ganglia.

gmetric.py(v3.1) does not work in gmond 3.1.7

When I use gmetric.py(v3.1) in gmond 3.1.7 , it does not report any error . But nothing reports to gmond.

/usr/local/bin/gmetric.py --name="t1" --value="10" --type=int32 --group="ttt"

gmetric(v3.1.7) work OK :

./gmetric --name="t1" --value="10" --type=int32

gmond debug:
Processing a metric metadata message from
**Allocating metadata packet for host---- and metric --t1-- ***
saving metadata for metric: t1 host:
Processing a metric value message from
**Allocating value packet for host---- and metric --t1-- ***

Is gmetric.py work OK ?

TomcatLogtailer regexp is incorrect

The original regexp and log format included items that were not supported by recent versions of Tomcat. I changed the log format to be as close to the Tomcat standard string, adding only the information that TomcatLogtailer.py needs.

  • Common log format + request duration log format
  • More robust regexp that will fail more cleanly

multiple group support for a metric with -g using "gmetric.py"

is it possible to pass multiple groups using -g
say, -g group1,group2

gmetric.py --host <host_ip>
--port
--dmax 50
--type float
--name cpu_nice
--units milli seconds
--value 5
--spoof <spoof_ip>:
--group cpu,system <==

it is possible to do this using ganglia plugin

ganglia-logtailer: shouldnt initialize logging when run with `--help`

i was trying to have the cli options by running g-l with --help but i got an error instead:

./ganglia-logtailer --help
Traceback (most recent call last):
  File "/yada/yada/ganglia-logtailer", line 50, in <module>
    os.mkdir(logDir)
OSError: [Errno 13] Permission denied: '/var/log/ganglia'

this was with my user, so of course it couldnt create that dir nor access it.

I think g-l shouldnt try to initialize/read logging if only run via --help

ganglia-logtailer should sanitize metric names

ganglia-logtailer should prohibit submitting metric names that will break later in the ganglia pipeline. The main ganglia code already does some metric name sanitizing; ganglia-logtailer should apply the same rules to metric names before submitting them.

why not using /dev/shm ?

Not an real issue, but why do you prefer using a ramdisk instead of the /dev/shm filesystem ?
I use a 300+ hosts in my ganglia cluster with many gmetrics (+150k rrd files) and I've done quite the same but using /dev/shm instead of ramdisk :
link /var/lib/ganglia/rrds to /dev/shm/rrds
at the start of gmetad, rsync rrds from disk (/var/lib/ganglia/rrds.sav) to memory (/dev/shm/rrds)
at the stop of gmetad, rsync rrds from /dev/shm/rrds to disk (/var/lib/ganglia/rrds.sav)
crontab to rsync mem to disk every 5mn.

Using /dev/shm could be an issue if you really need memory, but ramdisk sizing is difficult, and it reserve memory even if not used .

my 2 cents...

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.