[Ganglia-general] per-cluster authorization

2015-09-23 Thread Alexis Huxley
Hi, I want to allow users to access Ganglia for some clusters but not for
other clusters. Following the instructions at
https://github.com/ganglia/ganglia-web/wiki/Authorization-System, I have:

- added stuff to Apache's ganglia.conf:

 Alias /ganglia /usr/share/ganglia
 
   Options Indexes MultiViews FollowSymLinks
   AllowOverride None
   Allow from all
   Require all granted
 
 SetEnv ganglia_secret xx
 
   AuthType Basic
   AuthName "Ganglia Access"
   AuthUserFile /var/lib/ganglia/htpasswd
   Require valid-user
 

  - added stuff Ganglia's conf.php, intended to make myself an admin and
to make (my only) two clusters private:

 addPrivateCluster( '' );
 $acl->addPrivateCluster( '' );
 $acl->addRole( 'alexis', GangliaAcl::ADMIN );
 ?>

- created an htpasswd file in the right place with an entry for myself.

Now I go to http://my-site/ganglia. At this grid level, I see the basic graphs
for the 'unspecified grid' and, listed underneath, are two private clusters.
Okay so far.

 From the 'grid --> choose a source' pulldown menu I select one of my two 
clusters
but get a simple page stating "Sorry, you do not have access to this resource."

Apache's access_log shows just:

..."GET 
/ganglia/?r=hour===load_one=by+name==m==false 
HTTP/1.1" 403 116 
"http://my-site/ganglia/?m=load_one=hour=by%20name=4=2; ...

This is SL7 with Ganglia from EPEL, versions:

ganglia-web-3.7.0-3.el7.x86_64
ganglia-3.7.1-3.el7.x86_64
ganglia-gmetad-3.7.1-3.el7.x86_64

I've done plenty of googling, but not found anything. Has anybody any ideas why
this is not working? Thanks!

Alexis

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


[Ganglia-general] binding gmond to an interface?

2015-09-23 Thread Grigory Shamov
Hi All,

Is there a way to bind gmond not to hostname, but to another interface?
For example, if you have hostname on eth0, but want to send your unicast
metrics to eth1.

-- 
Grigory Shamov

Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625



 


--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] binding gmond to an interface?

2015-09-23 Thread Vladimir Vuksan
You can achieve sending metrics through a different interface by adding 
a route entry.

Vladimir

09/23/2015 u 01:39 PM, Grigory Shamov je napisao/la:
> Hi All,
>
> Is there a way to bind gmond not to hostname, but to another interface?
> For example, if you have hostname on eth0, but want to send your unicast
> metrics to eth1.
>


--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


[Ganglia-general] Checking node up with ganglia-nagios-bridge

2015-09-23 Thread Marcelo Garcia
Hi

I installed "ganglia-nagios-bridge" and I would like to know if it's
possible to use the value from the metrics to check if a node is up or
not.

I know my bridge is working because I get the "load" metrics, but it
seems that Nagios has to ping the nodes. In my configuration, the
Nagios server doesn't have access to the nodes. It's something like
this:

lustre01-oss0[01-64] (Gmond) ---> esms (gmetad/gmond) ---> nagsrv
(Nagios/Gmetad)

I want to monitor the "oss" nodes.

Did anyone had a similar problem?

Best Regards

m.

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general