diff --git a/monitoring/.ssh_config b/monitoring/.ssh_config new file mode 100644 index 0000000..98eda86 --- /dev/null +++ b/monitoring/.ssh_config @@ -0,0 +1,3 @@ +Host status.softwarepublico.gov.br + HostName 189.9.151.77 + ProxyCommand ssh lappis.unb.br nc %h %p diff --git a/monitoring/Rakefile b/monitoring/Rakefile new file mode 100644 index 0000000..f1158e4 --- /dev/null +++ b/monitoring/Rakefile @@ -0,0 +1,5 @@ +require 'chake' + +$nodes.each do |node| + node.data['peers'] = YAML.load_file('ips.yaml') +end diff --git a/monitoring/cookbooks b/monitoring/cookbooks new file mode 120000 index 0000000..695bcea --- /dev/null +++ b/monitoring/cookbooks @@ -0,0 +1 @@ +../cookbooks \ No newline at end of file diff --git a/monitoring/ips.yaml b/monitoring/ips.yaml new file mode 120000 index 0000000..2c65472 --- /dev/null +++ b/monitoring/ips.yaml @@ -0,0 +1 @@ +../config/prod/ips.yaml \ No newline at end of file diff --git a/monitoring/nodes.yaml b/monitoring/nodes.yaml new file mode 100644 index 0000000..d21cc6f --- /dev/null +++ b/monitoring/nodes.yaml @@ -0,0 +1,4 @@ +status.softwarepublico.gov.br: + run_list: + - recipe[basics] + - role[monitoring_server] diff --git a/monitoring/roles b/monitoring/roles new file mode 120000 index 0000000..d8c4472 --- /dev/null +++ b/monitoring/roles @@ -0,0 +1 @@ +../roles \ No newline at end of file -- libgit2 0.21.2