|
@@ -12,6 +12,16 @@ resource "sensu_asset" "asset_http" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "bfa025fcda806a36673e252f693635ea9283f7ba9e1ddcfa3c541fdf7ab96e6d90746e44e3377b7d973cdc7cb3c851114ce886fd9d8ec532d7371b7a3f237fa2"
|
|
|
+ url = "https://assets.bonsai.sensu.io/33783747d3af1939808944c2253c262d9d5b3fb7/sensu-plugins-http_6.0.0_debian_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#https://bonsai.sensu.io/assets/sensu/monitoring-plugins
|
|
@@ -28,6 +38,16 @@ resource "sensu_asset" "asset_monitoring" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "972b037fd38c2a33a165caefc746490a2d3af46800b4f49ad00032b29effa153fb5e06f69be52cf5f79c00f684831405757e46b9738ae2cf1fa622f39daeb5c7"
|
|
|
+ url = "https://assets.bonsai.sensu.io/1730d4a16e1072e4adcb549249ef388126ba0faf/monitoring-plugins-debian9_2.6.0_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-network-checks
|
|
@@ -44,6 +64,16 @@ resource "sensu_asset" "asset_network" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "9ada8316fe8255d03e20942136dfef9c4ee721aab64377b1ed9aefb96ab627ef6ce21359fe767cb8b3cdf70123a6f5773452dda839c49c17bdcb4ceefeda65e9"
|
|
|
+ url = "https://assets.bonsai.sensu.io/a2115474fe198f3895b953f6d90de86607f33722/sensu-plugins-network-checks_5.0.0_debian_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-process-checks
|
|
@@ -60,6 +90,16 @@ resource "sensu_asset" "asset_process" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "0f484a78b4413a745555b4e7dc8ef6c88233736c9a828a4ea8ead677611abd5dfaaea8e4329459f81daf2daef097a379c0ca30bc3859f1ef7838a512c14ab454"
|
|
|
+ url = "https://assets.bonsai.sensu.io/d582eeb357ca2c483cf1dc290640baca8dcd66f5/sensu-plugins-process-checks_4.1.0_debian_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime
|
|
@@ -76,6 +116,16 @@ resource "sensu_asset" "asset_ruby" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "ff3ba13e1a20f89eaac7613fc2c072a8a355918dbaf158b8d1565ebf02d066f3382dde872c1d80002ded762d8a3a860ccce20410b8dedb47b69fd7038e918dde"
|
|
|
+ url = "https://assets.bonsai.sensu.io/7fc8223458011cf69710146117fde2523526db68/sensu-ruby-runtime_0.2.1_ruby-2.4.4_debian_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-victorops
|
|
@@ -92,4 +142,14 @@ resource "sensu_asset" "asset_victorops" {
|
|
|
"entity.system.platform_version.split('.')[0] == '7'",
|
|
|
]
|
|
|
}
|
|
|
-}
|
|
|
+
|
|
|
+ build {
|
|
|
+ sha512 = "dd9a0ff3d82a8dbda3339d9901940477ae13474de566e00bdfdff696dd2af2a5c4abfbbef4097c7bc4a994fc19da914b0fd07e4bd335bd59b103c0d071516e09"
|
|
|
+ url = "https://assets.bonsai.sensu.io/42b661acefbfe02bc274858bdbff574d961e6a56/sensu-plugins-victorops_3.0.0_debian_linux_amd64.tar.gz"
|
|
|
+ filters = [
|
|
|
+ "entity.system.os=='linux'",
|
|
|
+ "entity.system.arch=='amd64'",
|
|
|
+ "entity.system.platform_family=='debian'"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|