itamae/cookbooks/prometheus/attributes.rb

56 lines
2.0 KiB
Ruby
Raw Normal View History

2019-03-03 08:50:49 +00:00
# -------------------------------------------
# Specifying the default settings:
# -------------------------------------------
node.reverse_merge!({
'prometheus' => {
'manager' => false,
'url' => 'https://github.com/prometheus/prometheus/releases/download/',
'prefix' => 'prometheus-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/prometheus/',
'location' => '/usr/local/bin/'
},
'node_exporter' => {
'url' => 'https://github.com/prometheus/node_exporter/releases/download/',
'prefix' => 'node_exporter-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/node_exporter/bin/',
'location' => '/usr/local/bin/'
},
'blackbox_exporter' => {
'url' => 'https://github.com/prometheus/blackbox_exporter/releases/download/',
'prefix' => 'blackbox_exporter-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/blackbox_exporter/bin/',
'location' => '/usr/local/bin/'
},
'alertmanager' => {
'url' => 'https://github.com/prometheus/alertmanager/releases/download/',
'prefix' => 'alertmanager-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/prometheus/',
'location' => '/usr/local/bin/'
},
'alertmanager_webhook' => {
'url' => 'https://github.com/tomtom-international/alertmanager-webhook-logger/releases/download/',
'prefix' => 'alertmanager-webhook-logger-',
2021-05-02 10:19:38 +00:00
'postfix' => '.zip',
'storage' => '/opt/prometheus/',
'location' => '/usr/local/bin/'
},
2020-09-27 05:05:44 +00:00
'filestat_exporter' => {
'url' => 'https://github.com/michael-doubez/filestat_exporter/releases/download/',
'prefix' => 'filestat_exporter-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/filestat_exporter/',
'location' => '/usr/local/bin/'
},
'snmp_exporter' => {
'url' => 'https://github.com/prometheus/snmp_exporter/releases/download/',
'prefix' => 'snmp_exporter-',
'postfix' => '.linux-amd64.tar.gz',
'storage' => '/opt/snmp_exporter/',
'location' => '/usr/local/bin/'
},
2019-03-03 08:50:49 +00:00
})