Code Monkey home page Code Monkey logo

ansible-ganglia's People

Contributors

ldcasillas-progreso avatar remysaissy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-ganglia's Issues

Can you include a sample of key usage in your documentation

I am new to Ansible. I am trying to get the gmond.conf to apply.

I modified the defaults/main.yml ds1 cluster just to see if that would work.

Then I tried to call out the variable directly using the following syntax
ganglia_config_gmond: 'ds1' but that is apparently the wrong syntax. Could you give an example in your readme?

Thank you for making this role!

ganglia_config_gmetad.setuid_username is not an "optional" property

Some comments in the defaults/main.yml file are prone to being misunderstood. In particular, this one in the map for ganglia_config_gmetad:

# Optional parameters. Values below are gmeta's default values.

That makes it sound like you don't need to copy those map entries into your group variables files. But in fact you do need to do so, or you get errors like this one:

TASK: [ganglia | Ensure the gmetad user exists] ******************************* 
fatal: [xxx.xxx.xxx.xxx] => One or more undefined variables: 'dict object' has no attribute 'setuid_username'

"Install Ganglia Monitor" task fails in Amazon EC2 (Amazon Linux distribution)

Amazon Linux is a Redhat variant, so I thought the role would work with that, but I get a failure like this:

TASK: [ganglia | Add the EPEL {{ ansible_distribution_version|int }} repository] *** 
changed: [xxx.xxx.xxx.xxx]

TASK: [ganglia | Install Ganglia Monitor] ************************************* 
failed: [xxx.xxx.xxx.xxx] => (item=ganglia-gmond,ganglia-gmond-python) => {"failed": true, "item": "ganglia-gmond,ganglia-gmond-python"}
msg: Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '-q', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}-%{version}-%{release}.%{arch}', 'ganglia-gmond']: Cannot find a valid baseurl for repo: epel/x86_64
Could not match packages: Cannot find a valid baseurl for repo: epel/x86_64

I suspect that this literal {{ ansible_distribution_version|int }} template value appearing in the first task name is probably the cause for this. The value of ansible_distribution_version on these machines is "2015.03".

Web front end picking up configuration from the wrong place in Amazon Linux

Somehow the web front end is picking up its configurations from the following file in Amazon Linux:

/usr/share/ganglia/conf.php

This file has no settings in it, so the effect is that there is no default view shown in the UI (none of the summary graphs appear at the top of the pages). Editing that file and restarting httpd gets around the issues.

Note that there is a good default configuration file at this location, but it's not being read:

/etc/ganglia/conf.php

So the fix would be to modify the role so that the configuration is loaded from there. I haven't yet figured out how to do it, but hopefully I will.

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.