123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- #https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-http
- resource "sensu_asset" "asset_http" {
- name = "sensu-plugins-http"
- build {
- sha512 = "eb4cb5aee521500c0580111814d909ec8ccda1a13c301578e614e932dc5420fdcd1b7da129a0d801440e433c51eb2fb7aa69df16bfaf6cdbb1ac20ed032d2063"
- url = "https://assets.bonsai.sensu.io/33783747d3af1939808944c2253c262d9d5b3fb7/sensu-plugins-http_6.0.0_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "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
- resource "sensu_asset" "asset_monitoring" {
- name = "sensu-plugins-monitoring"
- build {
- sha512 = "6c581809c10b756ce63ccb4c6e0d6e64dbfe30b0db837b5300bb0b4cbbd3d8642d92bf3a7f82507db78feb5f9e28b487308eba64cea91826aa3b6d66f8a6292c"
- url = "https://assets.bonsai.sensu.io/a7cfc70d3aa81ffd13ed3a7e55f2438c3c7e8f8e/monitoring-plugins-centos7_2.7.0_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "entity.system.platform_version.split('.')[0] == '7'",
- ]
- }
- 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"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='debian'",
- "entity.system.platform_version.split('.')[0] == '9'",
- ]
- }
- }
- #https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-network-checks
- resource "sensu_asset" "asset_network" {
- name = "sensu-plugins-network-checks"
- build {
- sha512 = "f0a229918245d2156fcc34e272cb351d09f3d7ee79057cccaa88121d837723951c816593104ff959528b0dec7f18901b6735f7b7cf765ddcce85c6fdbb559378"
- url = "https://assets.bonsai.sensu.io/a2115474fe198f3895b953f6d90de86607f33722/sensu-plugins-network-checks_5.0.0_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "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
- resource "sensu_asset" "asset_process" {
- name = "sensu-plugins-process-checks"
- build {
- sha512 = "1c10dda30ecf0298583b186e9b46f8319d18b093d3f6c3b2be7b475b99ba7e281e8af78a3bcc45fedfeca1d498690a894e15fe56efa9dba5d2052134e1b1ab75"
- url = "https://assets.bonsai.sensu.io/d582eeb357ca2c483cf1dc290640baca8dcd66f5/sensu-plugins-process-checks_4.1.0_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "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
- resource "sensu_asset" "asset_ruby" {
- name = "sensu-ruby-runtime"
- build {
- sha512 = "9204c46308db0f445180074d2ed482ff5fbcb07763b19bff54e74eb1e7feea1a137f9efec01faf6427b5f14096a70f25c0a2eddf4f6195a6c481eeb95eedcccf"
- url = "https://assets.bonsai.sensu.io/7fc8223458011cf69710146117fde2523526db68/sensu-ruby-runtime_0.2.1_ruby-2.4.4_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "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
- resource "sensu_asset" "asset_victorops" {
- name = "sensu-plugins-victorops"
- build {
- sha512 = "6f10ff16a1e43e82ca5dc57ce57dce23c311c957cf678bb9c3c3dc3ee1be84fc8c92c39b50e216e1bea568866e085975af60a58dc465f62beaa640a1e5d65a7d"
- url = "https://assets.bonsai.sensu.io/42b661acefbfe02bc274858bdbff574d961e6a56/sensu-plugins-victorops_3.0.0_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "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'"
- ]
- }
- }
- #https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-ssl
- resource "sensu_asset" "asset_ssl" {
- name = "sensu-plugins-ssl"
- build {
- sha512 = "27667460a0e21170264bd9482bd524bc7f97705452eaac207fcf374f814935cf98442ef6fcd52e354ca8917ca36f538ebe839875fdee16c58ecf9a1dc5f93795"
- url = "https://assets.bonsai.sensu.io/2e3663222d4558e3aae7df6e56b229cd89b3e4ae/sensu-plugins-ssl_3.0.2_centos7_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- "entity.system.platform_family=='rhel'",
- "entity.system.platform_version.split('.')[0] == '7'",
- ]
- }
- build {
- sha512 = "fe5cfc1261a863982cae42154270feaffd2326222b93daf05276907560f83c5e0eb63c6f175359364d981fcaeff60c441da3787930e710b825d3951b92f7a5d5"
- url = "https://assets.bonsai.sensu.io/2e3663222d4558e3aae7df6e56b229cd89b3e4ae/sensu-plugins-ssl_3.0.2_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-email-handler
- # I guess this one is not RHEL vs debian specific?
- #
- resource "sensu_asset" "asset_email_handler" {
- name = "sensu/sensu-email-handler"
- build {
- sha512 = "81ffd8095c1a6b489b6eca2eae76b84f9943c59877c28e1191c0acc89055bf58d53b4fba3356ddac6572d5fe5e6a62ff018f15b7cd3ecbc37263d3fdb5a0660d"
- url = "https://assets.bonsai.sensu.io/034de7872a4c9b59a5c575e80e62f0473365f796/sensu-email-handler_1.2.2_linux_amd64.tar.gz"
- filters = [
- "entity.system.os=='linux'",
- "entity.system.arch=='amd64'",
- ]
- }
- }
|