Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v1.0.0 · public · Published over 4 years ago

README
Asset Definition
Release Notes
Release Assets

Sensu-Plugins-AzureRM

Build Status
Gem Version
Code Climate
Test Coverage
Dependency Status

Functionality

  • check-azurerm-core-usage.rb
  • check-azurerm-cores-d-usage.rb
  • check-azurerm-cores-ds-usage.rb
  • check-azurerm-cores-dsv2-usage.rb
  • check-azurerm-cores-dv2-usage.rb
  • check-azurerm-cores-f-usage.rb
  • check-azurerm-cores-fs-usage.rb
  • check-azurerm-network-interfaces-usage.rb
  • check-azurerm-network-security-groups-usage.rb
  • check-azurerm-public-ip-addresses-usage.rb
  • check-azurerm-route-tables-usage.rb
  • check-azurerm-service-bus-subscription.rb
  • check-azurerm-service-bus-topic-size.rb
  • check-azurerm-static-public-ip-addresses-usage.rb
  • check-azurerm-virtual-machines-usage.rb
  • check-azurerm-virtual-network-gateway-connected.rb
  • check-azurerm-virtual-network-gateway-failover-connected.rb
  • check-azurerm-virtual-networks-usage.rb
  • metric-azurerm-service-bus-subscription-message-count.rb
  • metric-azurerm-virtual-network-gateway-usage.rb

Files

  • /bin/check-azurerm-core-usage.rb
  • /bin/check-azurerm-cores-d-usage.rb
  • /bin/check-azurerm-cores-ds-usage.rb
  • /bin/check-azurerm-cores-dsv2-usage.rb
  • /bin/check-azurerm-cores-dv2-usage.rb
  • /bin/check-azurerm-cores-f-usage.rb
  • /bin/check-azurerm-cores-fs-usage.rb
  • /bin/check-azurerm-network-interfaces-usage.rb
  • /bin/check-azurerm-network-security-groups-usage.rb
  • /bin/check-azurerm-public-ip-addresses-usage.rb
  • /bin/check-azurerm-route-tables-usage.rb
  • /bin/check-azurerm-service-bus-subscription.rb
  • /bin/check-azurerm-service-bus-topic-size.rb
  • /bin/check-azurerm-static-public-ip-addresses-usage.rb
  • /bin/check-azurerm-virtual-machines-usage.rb
  • /bin/check-azurerm-virtual-network-gateway-connected.rb
  • /bin/check-azurerm-virtual-network-gateway-failover-connected.rb
  • /bin/check-azurerm-virtual-networks-usage.rb
  • /bin/metric-azurerm-service-bus-subscription-message-count.rb
  • /bin/metric-azurerm-virtual-network-gateway-usage.rb

Usage

check-azurerm-core-usage.rb

./check-azurerm-core-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-core-usage.rb -t "00000000-0000-0000-0000-000000000000"
                              -c "00000000-0000-0000-0000-000000000000"
                              -S "00000000-0000-0000-0000-000000000000"
                              -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                              -l "eastus2" -w 80 -c 90

./check-azurerm-core-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                              -client_id "00000000-0000-0000-0000-000000000000"
                              -client_secret "00000000-0000-0000-0000-000000000000"
                              -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                              -location "westeurope"
                              -warning_percentage 80
                              -critical_percentage 90

check-azurerm-cores-d-usage.rb

./check-azurerm-cores-d-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-d-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                 -c "00000000-0000-0000-0000-000000000000"
                                 -S "00000000-0000-0000-0000-000000000000"
                                 -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                 -l "eastus2" -w 80 -c 90

./check-azurerm-cores-d-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                 -client_id "00000000-0000-0000-0000-000000000000"
                                 -client_secret "00000000-0000-0000-0000-000000000000"
                                 -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                 -location "westeurope"
                                 -warning_percentage 80
                                 -critical_percentage 90

check-azurerm-cores-ds-usage.rb

./check-azurerm-cores-ds-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-ds-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                  -c "00000000-0000-0000-0000-000000000000"
                                  -S "00000000-0000-0000-0000-000000000000"
                                  -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                  -l "eastus2" -w 80 -c 90

./check-azurerm-cores-ds-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                  -client_id "00000000-0000-0000-0000-000000000000"
                                  -client_secret "00000000-0000-0000-0000-000000000000"
                                  -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                  -location "westeurope"
                                  -warning_percentage 80
                                  -critical_percentage 90

check-azurerm-cores-dsv2-usage.rb

./check-azurerm-cores-dsv2-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-dsv2-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                    -c "00000000-0000-0000-0000-000000000000"
                                    -S "00000000-0000-0000-0000-000000000000"
                                    -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                    -l "eastus2" -w 80 -c 90

./check-azurerm-cores-dsv2-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                    -client_id "00000000-0000-0000-0000-000000000000"
                                    -client_secret "00000000-0000-0000-0000-000000000000"
                                    -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                    -location "westeurope"
                                    -warning_percentage 80
                                    -critical_percentage 90

check-azurerm-cores-dv2-usage.rb

./check-azurerm-cores-dv2-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-dv2-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                   -c "00000000-0000-0000-0000-000000000000"
                                   -S "00000000-0000-0000-0000-000000000000"
                                   -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                   -l "eastus2" -w 80 -c 90

./check-azurerm-cores-dv2-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                   -client_id "00000000-0000-0000-0000-000000000000"
                                   -client_secret "00000000-0000-0000-0000-000000000000"
                                   -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                   -location "westeurope"
                                   -warning_percentage 80
                                   -critical_percentage 90

check-azurerm-cores-f-usage.rb

./check-azurerm-cores-f-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-f-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                 -c "00000000-0000-0000-0000-000000000000"
                                 -S "00000000-0000-0000-0000-000000000000"
                                 -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                 -l "eastus2" -w 80 -c 90

./check-azurerm-cores-f-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                 -client_id "00000000-0000-0000-0000-000000000000"
                                 -client_secret "00000000-0000-0000-0000-000000000000"
                                 -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                 -location "westeurope"
                                 -warning_percentage 80
                                 -critical_percentage 90

check-azurerm-cores-fs-usage.rb

./check-azurerm-cores-fs-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-cores-fs-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                  -c "00000000-0000-0000-0000-000000000000"
                                  -S "00000000-0000-0000-0000-000000000000"
                                  -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                  -l "eastus2" -w 80 -c 90

./check-azurerm-cores-fs-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                  -client_id "00000000-0000-0000-0000-000000000000"
                                  -client_secret "00000000-0000-0000-0000-000000000000"
                                  -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                  -location "westeurope"
                                  -warning_percentage 80
                                  -critical_percentage 90

check-azurerm-load-balancers-usage.rb

./check-azurerm-load-balancers-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-load-balancers-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                        -c "00000000-0000-0000-0000-000000000000"
                                        -S "00000000-0000-0000-0000-000000000000"
                                        -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                        -l "eastus2" -w 80 -c 90

./check-azurerm-load-balancers-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                        -client_id "00000000-0000-0000-0000-000000000000"
                                        -client_secret "00000000-0000-0000-0000-000000000000"
                                        -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                        -location "westeurope"
                                        -warning_percentage 80
                                        -critical_percentage 90

check-azurerm-network-interfaces-usage.rb

./check-azurerm-network-interfaces-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-network-interfaces-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                            -c "00000000-0000-0000-0000-000000000000"
                                            -S "00000000-0000-0000-0000-000000000000"
                                            -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                            -l "eastus2" -w 80 -c 90

./check-azurerm-network-interfaces-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                            -client_id "00000000-0000-0000-0000-000000000000"
                                            -client_secret "00000000-0000-0000-0000-000000000000"
                                            -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                            -location "westeurope"
                                            -warning_percentage 80
                                            -critical_percentage 90

check-azurerm-network-security-groups-usage.rb

./check-azurerm-network-security-groups-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-network-security-groups-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                                 -c "00000000-0000-0000-0000-000000000000"
                                                 -S "00000000-0000-0000-0000-000000000000"
                                                 -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                                 -l "eastus2" -w 80 -c 90

./check-azurerm-network-security-groups-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                                 -client_id "00000000-0000-0000-0000-000000000000"
                                                 -client_secret "00000000-0000-0000-0000-000000000000"
                                                 -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                                 -location "westeurope"
                                                 -warning_percentage 80
                                                 -critical_percentage 90

check-azurerm-public-ip-addresses-usage.rb

./check-azurerm-public-ip-addresses-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-public-ip-addresses-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                             -c "00000000-0000-0000-0000-000000000000"
                                             -S "00000000-0000-0000-0000-000000000000"
                                             -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                             -l "eastus2" -w 80 -c 90

./check-azurerm-public-ip-addresses-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                             -client_id "00000000-0000-0000-0000-000000000000"
                                             -client_secret "00000000-0000-0000-0000-000000000000"
                                             -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                             -location "westeurope"
                                             -warning_percentage 80
                                             -critical_percentage 90

check-azurerm-static-public-ip-addresses-usage.rb

./check-azurerm-static-public-ip-addresses-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-static-public-ip-addresses-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                                    -c "00000000-0000-0000-0000-000000000000"
                                                    -S "00000000-0000-0000-0000-000000000000"
                                                    -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                                    -l "eastus2" -w 80 -c 90

./check-azurerm-static-public-ip-addresses-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                                    -client_id "00000000-0000-0000-0000-000000000000"
                                                    -client_secret "00000000-0000-0000-0000-000000000000"
                                                    -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                                    -location "westeurope"
                                                    -warning_percentage 80
                                                    -critical_percentage 90

check-azurerm-route-tables-usage.rb

./check-azurerm-route-tables-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-route-tables-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                      -c "00000000-0000-0000-0000-000000000000"
                                      -S "00000000-0000-0000-0000-000000000000"
                                      -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                      -l "eastus2" -w 80 -c 90

./check-azurerm-route-tables-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                      -client_id "00000000-0000-0000-0000-000000000000"
                                      -client_secret "00000000-0000-0000-0000-000000000000"
                                      -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                      -location "westeurope"
                                      -warning_percentage 80
                                      -critical_percentage 90

check-azurerm-service-bus-subscription.rb

./check-azurerm-service-bus-subscription.rb
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           --subscriptionName "subscriptionName"

./check-azurerm-service-bus-subscription.rb
                           -t "00000000-0000-0000-0000-000000000000"
                           -c "00000000-0000-0000-0000-000000000000"
                           -S "00000000-0000-0000-0000-000000000000"
                           -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           --subscriptionName "subscriptionName"

check-azurerm-service-bus-topic-size.rb

./check-azurerm-service-bus-topic-size.rb
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           -w 60
                           -c 80

./check-azurerm-service-bus-topic-size.rb
                           -t "00000000-0000-0000-0000-000000000000"
                           -c "00000000-0000-0000-0000-000000000000"
                           -S "00000000-0000-0000-0000-000000000000"
                           -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           -w 60
                           -c 80

check-azurerm-virtual-machines-usage.rb

./check-azurerm-virtual-machines-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-virtual-machines-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                          -c "00000000-0000-0000-0000-000000000000"
                                          -S "00000000-0000-0000-0000-000000000000"
                                          -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                          -l "eastus2" -w 80 -c 90

./check-azurerm-virtual-machines-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                          -client_id "00000000-0000-0000-0000-000000000000"
                                          -client_secret "00000000-0000-0000-0000-000000000000"
                                          -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                          -location "westeurope"
                                          -warning_percentage 80
                                          -critical_percentage 90

check-azurerm-virtual-network-gateway-connected.rb

./check-azurerm-virtual-network-gateway-connected.rb -r "resourcegroup" -n "gatewayname"

./check-azurerm-virtual-network-gateway-connected.rb
                             -t "00000000-0000-0000-0000-000000000000"
                             -c "00000000-0000-0000-0000-000000000000"
                             -S "00000000-0000-0000-0000-000000000000"
                             -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                             -r "resourcegroup" -n "gatewayname"

./check-azurerm-virtual-network-gateway-connected.rb
                             -tenant "00000000-0000-0000-0000-000000000000"
                             -client "00000000-0000-0000-0000-000000000000"
                             -clientSecret "00000000-0000-0000-0000-000000000000"
                             -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                             -resourceGroup "resourcegroup"
                             -name "gatewayname"

check-azurerm-virtual-network-gateway-failover-connected.rb

./check-azurerm-virtual-network-gateway-failover-connected.rb
                           -r "resourcegroup"
                           -p "primaryname"
                           -s "secondaryname"

./check-azurerm-virtual-network-gateway-failover-connected.rb
                           -t "00000000-0000-0000-0000-000000000000"
                           -c "00000000-0000-0000-0000-000000000000"
                           -S "00000000-0000-0000-0000-000000000000"
                           -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                           -r "resourcegroup"
                           -p "primaryname"
                           -s "secondaryname"

./check-azurerm-virtual-network-gateway-failover-connected.rb
                          -tenant "00000000-0000-0000-0000-000000000000"
                          -client "00000000-0000-0000-0000-000000000000"
                          -clientSecret "00000000-0000-0000-0000-000000000000"
                          -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                          -resourceGroup "resourcegroup"
                          -primaryName "gatewayname"
                          -secondaryName "gatewayname"

check-azurerm-virtual-networks-usage.rb

./check-azurerm-virtual-networks-usage.rb -l "westeurope" -w 80 -c 90

./check-azurerm-virtual-networks-usage.rb -t "00000000-0000-0000-0000-000000000000"
                                          -c "00000000-0000-0000-0000-000000000000"
                                          -S "00000000-0000-0000-0000-000000000000"
                                          -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                          -l "eastus2" -w 80 -c 90

./check-azurerm-virtual-networks-usage.rb -tenant "00000000-0000-0000-0000-000000000000"
                                          -client_id "00000000-0000-0000-0000-000000000000"
                                          -client_secret "00000000-0000-0000-0000-000000000000"
                                          -subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                                          -location "westeurope"
                                          -warning_percentage 80
                                          -critical_percentage 90

metric-azurerm-service-bus-subscription-message-count.rb

./metric-azurerm-service-bus-subscription-message-count.rb
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           --subscriptionName "subscriptionName"

./metric-azurerm-service-bus-subscription-message-count.rb
                           -t "00000000-0000-0000-0000-000000000000"
                           -c "00000000-0000-0000-0000-000000000000"
                           -S "00000000-0000-0000-0000-000000000000"
                           -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                           --resourceGroup "resourcegroup"
                           --namespace "namespace"
                           --topic "topic"
                           --subscriptionName "subscriptionName"

./metric-azurerm-service-bus-subscription-message-count.rb
                           --tenant "00000000-0000-0000-0000-000000000000"
                           --client "00000000-0000-0000-0000-000000000000"
                           --clientSecret "00000000-0000-0000-0000-000000000000"
                           --subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                           --resourceGroup "resourcegroup"
                           --namespaceName "namespace"
                           --topicName "topic"
                           --subscriptionName "subscriptionName"
                           --customScheme "foo"

metric-azurerm-virtual-network-gateway-usagerb

./metric-azurerm-virtual-network-gateway-usage.rb -r "resourcegroup" -n "gatewayname"

./metric-azurerm-virtual-network-gateway-usage.rb
                          -t "00000000-0000-0000-0000-000000000000"
                          -c "00000000-0000-0000-0000-000000000000"
                          -S "00000000-0000-0000-0000-000000000000"
                          -s "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                          -r "resourcegroup" -n "gatewayname"

./metric-azurerm-virtual-network-gateway-usage.rb
                          --tenant "00000000-0000-0000-0000-000000000000"
                          --client "00000000-0000-0000-0000-000000000000"
                          --clientSecret "00000000-0000-0000-0000-000000000000"
                          --subscription "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234"
                          --resourceGroup "resourcegroup"
                          --name "gatewayname"
                          --customScheme "foo"

Installation

Installation and Setup

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

There are no asset definitions for this version, only source code:

Download Source Cancel