Slackbot
05/09/2022, 8:26 PMvchepkov
05/09/2022, 8:29 PMresource_name
Massimiliano (Max)
05/09/2022, 8:41 PMMassimiliano (Max)
05/09/2022, 8:41 PMNotice: /Stage[main]/Xxxx_sensu::Server::Server/Sensu_check[prod-postgres02.xxx.org-check-consul-production-prod-postgres]/ensure: created
Notice: /Stage[main]/Xxxx_sensu::Server::Server/Sensu_check[prod-postgres01.xxx.org-check-consul-production-prod-postgres]/ensure: created
vchepkov
05/09/2022, 8:42 PMvchepkov
05/09/2022, 8:43 PMMassimiliano (Max)
05/09/2022, 8:48 PMvchepkov
05/09/2022, 8:51 PMvchepkov
05/09/2022, 8:52 PMMassimiliano (Max)
05/09/2022, 8:52 PMif ($fqdn_match) {
if $fqdn_match in $facts['fqdn'] {
xxxx_consul::agent::monitoring { $monitored_services:; }
}
} else {
xxxx_consul::agent::monitoring { $monitored_services:; }
}
Massimiliano (Max)
05/09/2022, 8:53 PMvchepkov
05/09/2022, 8:53 PMvchepkov
05/09/2022, 8:54 PMSlackbot
05/09/2022, 8:55 PMbastelfreak
05/09/2022, 9:06 PMbastelfreak
05/09/2022, 9:06 PMwhatsaranjit
05/09/2022, 9:07 PMMassimiliano (Max)
05/09/2022, 9:08 PM--all
which means that I get rubbish in my monitoring from the test environmentMassimiliano (Max)
05/09/2022, 9:09 PM--all
which means that I get rubbish in my monitoring for the test environmentMassimiliano (Max)
05/09/2022, 9:10 PM--all
which means that I get rubbish in my monitoring from the test environmentwhatsaranjit
05/09/2022, 9:11 PMwhatsaranjit
05/09/2022, 9:15 PMMassimiliano (Max)
05/09/2022, 9:18 PMclass { 'xxxx_consul::agent::consul':
monitored_services => $monitored_services,
fqdn_match => '01';
}
and monitored service is filled as following:
$monitored_service = $::environment ? {
'production' => 'my-super-service',
default => undef
}
Massimiliano (Max)
05/09/2022, 9:18 PMclass { 'xxxx_consul::agent::consul':
monitored_services => $monitored_services,
fqdn_match => '01';
}
and monitored service is filled as following:
$monitored_service = $::environment ? {
'production' => 'my-super-service',
default => undef
}
Slackbot
05/10/2022, 2:58 AMCraig Gumbley
05/10/2022, 9:26 AMSlackbot
05/10/2022, 12:21 PMSlackbot
05/10/2022, 12:40 PMAllahshukur Ahmadzada
05/10/2022, 12:40 PMAllahshukur Ahmadzada
05/10/2022, 1:01 PMfind file -mmin -2
]; then exit 0; else exit 1; fi"',`