X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=blobdiff_plain;f=modules%2Frole%2Fmanifests%2Fcryptoportfolio%2Ffront.pp;h=5f7c09739d3989635362db3fc674065acd19d47c;hp=cf73a27054eff9939efdd3c84d32f8890c4d5832;hb=96f8d0f037f8b8e93315e864bdaf661f45e3c472;hpb=21d531ee2e4a5952673d694342ff01822581a1f8 diff --git a/modules/role/manifests/cryptoportfolio/front.pp b/modules/role/manifests/cryptoportfolio/front.pp index cf73a27..5f7c097 100644 --- a/modules/role/manifests/cryptoportfolio/front.pp +++ b/modules/role/manifests/cryptoportfolio/front.pp @@ -187,4 +187,16 @@ class role::cryptoportfolio::front inherits role::cryptoportfolio { } } + @profile::monitoring::external_service { "Cryptoportfolio website is running on $web_host": + type => "web", + master => { + check_command => "check_https!$web_host!/!Cryptoportfolio" + } + } + @profile::monitoring::external_service { "$web_host ssl certificate is up to date": + type => "web", + master => { + check_command => "check_https_certificate!$web_host" + } + } }