File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ Alias /ganglia /usr/share/ganglia
2+
3+ <Directory "/usr/share/ganglia">
4+ AllowOverride All
5+ Require all granted
6+ </Directory>
Original file line number Diff line number Diff line change 3030 mode '0644'
3131 end
3232
33- if node [ 'platform ' ] == 'centos ' && node [ 'platform_version' ] . to_i == 7
33+ if node [ 'platform_family ' ] == 'rhel ' && node [ 'platform_version' ] . to_i == 7 || node [ 'platform' ] == 'amazon' && node [ 'platform_version' ] . to_i == 2
3434 # Fix circular dependency multi-user.target -> cloud-init-> gmond -> multi-user.target
3535 # gmond is started by chef during cloud-init, but gmond service is configured to start after multi-user.target
3636 # which doesn't start until cloud-init run is finished. So gmond service is stuck into starting, which keep
Original file line number Diff line number Diff line change 191191 execute 'check gmetad running' do
192192 command gmetad_check_command
193193 end
194+
195+ execute 'check ganglia webpage' do
196+ command 'curl --silent -L http://localhost/ganglia | grep "<title>Ganglia"'
197+ end
194198when 'ComputeFleet'
195199 execute 'check gmond running' do
196200 command gmond_check_command
You can’t perform that action at this time.
0 commit comments