Browse Source

Merge pull request #470 from mdr-engineering/feature/bp_NA_sensu-ubuntu-fix

update sensu check for Ubuntu
Brad Poulton 3 years ago
parent
commit
b49f32d0b4
1 changed files with 11 additions and 0 deletions
  1. 11 0
      base/sensu-configuration/assets.tf

+ 11 - 0
base/sensu-configuration/assets.tf

@@ -39,6 +39,17 @@ resource "sensu_asset" "asset_monitoring" {
     ]
   }
 
+  build {
+    sha512 = "550adf669715d7b97bbcaadc2a310d508844cfc5a3e5571ee0290436f99143fe7af0927c7f1667e2f43a598c2969fb734d1297adf5b258e571a42c884f90271c"
+    url    = "https://assets.bonsai.sensu.io/a7cfc70d3aa81ffd13ed3a7e55f2438c3c7e8f8e/monitoring-plugins-ubuntu2004_2.7.0_linux_amd64.tar.gz"
+    filters = [
+      "entity.system.os=='linux'",
+      "entity.system.arch=='amd64'",
+      "entity.system.platform=='ubuntu'",
+      "entity.system.platform_version.split('.')[0] == '20'",
+    ]
+  }
+
   build {
     sha512 = "cac04df65d72a0b5fca1cbceec45a4a826f8bbb88813013eeed256cc5fb3c6e6bf84b5852ed4632141b218f8537d81b89b79de85c37ff51bc95a07fd47a6d034"
     url    = "https://assets.bonsai.sensu.io/a7cfc70d3aa81ffd13ed3a7e55f2438c3c7e8f8e/monitoring-plugins-debian9_2.7.0_linux_amd64.tar.gz"