Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
HPC UCLV
puppet-ganglia
Commits
e11e5de7
Commit
e11e5de7
authored
Oct 03, 2018
by
Javier
Browse files
cambiando gmond.conf con nombres de nodos
parent
9dda0954
Pipeline
#318
canceled with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
17 deletions
+13
-17
files/gmetad.conf
files/gmetad.conf
+1
-1
files/gmond.conf
files/gmond.conf
+2
-2
manifests/common.pp
manifests/common.pp
+5
-4
manifests/server.pp
manifests/server.pp
+5
-10
No files found.
files/gmetad.conf
View file @
e11e5de7
...
@@ -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
...
...
files/gmond.conf
View file @
e11e5de7
...
@@ -48,13 +48,13 @@ udp_send_channel {
...
@@ -48,13 +48,13 @@ udp_send_channel {
}
}
udp_send_channel
{
udp_send_channel
{
host
=
10
.
12
.
31
.
1
41
host
=
nodo0
41
port
=
8649
port
=
8649
ttl
=
1
ttl
=
1
}
}
udp_send_channel
{
udp_send_channel
{
host
=
10
.
12
.
31
.
1
47
host
=
nodo
47
port
=
8649
port
=
8649
ttl
=
1
ttl
=
1
}
}
...
...
manifests/common.pp
View file @
e11e5de7
...
@@ -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/gangl
N
ia/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'
],
}
}
}
}
manifests/server.pp
View file @
e11e5de7
...
@@ -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
[
'gm
ond'
,
'gmetad'
,
'http
d'
],
notify
=>
Service
[
'gm
eta
d'
],
}
}
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',
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment