Commit e11e5de7 authored by Javier's avatar Javier
Browse files

cambiando gmond.conf con nombres de nodos

parent 9dda0954
Pipeline #318 canceled with stages
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651 # data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
# data_source "another source" 1.3.4.7:8655 1.3.4.8 # data_source "another source" 1.3.4.7:8655 1.3.4.8
data_source "mambi" 1 10.12.31.9 data_source "mambi" 1 ganglia.uclv.hpc.cu
# #
# Round-Robin Archives # Round-Robin Archives
......
...@@ -48,13 +48,13 @@ udp_send_channel { ...@@ -48,13 +48,13 @@ udp_send_channel {
} }
udp_send_channel { udp_send_channel {
host = 10.12.31.141 host = nodo041
port = 8649 port = 8649
ttl = 1 ttl = 1
} }
udp_send_channel { udp_send_channel {
host = 10.12.31.147 host = nodo47
port = 8649 port = 8649
ttl = 1 ttl = 1
} }
......
...@@ -29,7 +29,7 @@ class ganglia::common inherits ganglia::params { ...@@ -29,7 +29,7 @@ class ganglia::common inherits ganglia::params {
package { 'libconfuse-devel': package { 'libconfuse-devel':
ensure => '2.7-7.el7', ensure => '2.7-7.el7',
provider => rpm, provider => rpm,
source => '/root/ganglia/libconfuse-devel-2.7-7.el7.x86_64.rpm', source => '/root/ganglNia/libconfuse-devel-2.7-7.el7.x86_64.rpm',
require => File['/root/ganglia/libconfuse-devel-2.7-7.el7.x86_64.rpm'], require => File['/root/ganglia/libconfuse-devel-2.7-7.el7.x86_64.rpm'],
} }
...@@ -66,5 +66,6 @@ class ganglia::common inherits ganglia::params { ...@@ -66,5 +66,6 @@ class ganglia::common inherits ganglia::params {
mode => '0644', mode => '0644',
source => 'puppet:///modules/ganglia/gmond.conf', source => 'puppet:///modules/ganglia/gmond.conf',
require => File['/etc/ganglia'], require => File['/etc/ganglia'],
notify => Service['gmond'],
} }
} }
...@@ -12,7 +12,7 @@ class ganglia::server inherits ganglia::params { ...@@ -12,7 +12,7 @@ class ganglia::server inherits ganglia::params {
ensure => file, ensure => file,
mode => '0644', mode => '0644',
source => 'puppet:///modules/ganglia/gmetad.conf', source => 'puppet:///modules/ganglia/gmetad.conf',
notify => Service['gmond','gmetad','httpd'], notify => Service['gmetad'],
} }
file { '/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm': file { '/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm':
ensure => file, ensure => file,
...@@ -24,6 +24,7 @@ class ganglia::server inherits ganglia::params { ...@@ -24,6 +24,7 @@ class ganglia::server inherits ganglia::params {
provider => rpm, provider => rpm,
source => '/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm', source => '/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm',
require => File['/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm'], require => File['/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm'],
notify => Service['httpd'],
} }
service { 'gmond': service { 'gmond':
...@@ -34,11 +35,6 @@ class ganglia::server inherits ganglia::params { ...@@ -34,11 +35,6 @@ class ganglia::server inherits ganglia::params {
subscribe => File['/etc/ganglia/gmetad.conf'], subscribe => File['/etc/ganglia/gmetad.conf'],
# pattern => 'gmond', # pattern => 'gmond',
} }
# file {'/root/ganglia/ganglia-web-3.1.1-1.noarch.rpm':
# ensure => present,
# source => 'puppet:///modules/ganglia/ganglia-web-3.1.1-1.noarch.rpm',
# }
service { 'gmetad': service { 'gmetad':
ensure => running, ensure => running,
enable => true, enable => true,
...@@ -51,7 +47,6 @@ class ganglia::server inherits ganglia::params { ...@@ -51,7 +47,6 @@ class ganglia::server inherits ganglia::params {
enable => true, enable => true,
hasrestart => true, hasrestart => true,
hasstatus => true, hasstatus => true,
#require => Package['ganglia-web-3.1.1-1.noarch.rpm'],
# pattern => 'httpd', # pattern => 'httpd',
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment