Giter VIP home page Giter VIP logo

sensu-plugins-azurerm's Introduction

Sensu-Plugins-AzureRM

Build Status Gem Version Code Climate Test Coverage Dependency Status Sensu Bonsai Asset

Sensu Asset

The Sensu assets packaged from this repository are built against the Sensu Ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu Ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found here in the Bonsai Asset Index](bonsai.sensu.io).

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
  • check-azurerm-monitor-metric.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
  • /bin/check-azurerm-monitor-metric.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

check-azurerm-monitor-metric.rb

./check-azurerm-monitor-metric.rb --use-assigned-identity 
                                  --resource-id "id"
                                  --metric "metricname"
                                  --warning 80
                                  --critical 90

./check-azurerm-monitor-metric.rb --tenant "00000000-0000-0000-0000-000000000000" 
                                  --client "00000000-0000-0000-0000-000000000000"
                                  --clientSecret "00000000-0000-0000-0000-000000000000"
                                  --resource-id "id"
                                  --metric "metricname"
                                  --warning-under 80
                                  --critical-under 50

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

sensu-plugins-azurerm's People

Contributors

andyroyle avatar dependabot-preview[bot] avatar dependabot-support avatar jspaleta avatar majormoses avatar mrmisa93 avatar nixwiz avatar thomaslitton avatar tombuildsstuff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sensu-plugins-azurerm's Issues

Execution of some commands giving non zero return code

Hi,
I am running the following sensu command on Linux terminal and it is working fine. I am receiving proper output as well. But if i check the return code, i am getting a non zero number.

[root@cc66b15377a4 /]# /opt/sensu/embedded/bin/check-azurerm-core-usage.rb --tenant xxxx-xxxxxx-xx-xxx --client xxxx-xxxx-xxxx --clientSecret xxxx-xxxxx-xxxxx-xxxxx --subscription xxxxx-xxxxx-xxxxx-xxxxx --location 'EAST US'

CheckAzureRMCoreUsage CRITICAL: Current usage: 56 of 350 Cores

[root@cc66b15377a4 /]# echo $?
2

Note:- Facing same issue with some other azure plugin commands as well

Error: exception: Client id cannot be nil

Multiple attempts return same error.

# check-azurerm-cores-d-usage.rb -t "my_data" -c "my_data" -S "my_data" -s "my_data" -l "SoutheastAsia" -w 80 -c 90
Error: exception: Client id cannot be nil
CheckAzureRMCoresDUsage CRITICAL

Using Id's from following this instruction - https://docs.bmc.com/docs/cloudlifecyclemanagement/46/setting-up-a-tenant-id-client-id-and-client-secret-for-azure-resource-manager-provisioning-669202145.html

Any help in sorting this is appreciated.

Metric latest value is always 0

I'm using the check-azurerm-monitor-metric.rb check with Azure Postgres metrics (cpu_percent, memory_percent, storage_percent)
The issue I'm having is that metrics are always a few minutes behind so the latest value is almost always 0.0.

My first thought was to select a different timespan to use a start time from 2 or 3 minutes ago but it doesn't seem to be possible currently with this check. I did test it by changing the code directly and it worked.

Any ideas on how I could get around this issue?
Should we add a new option for the timespan start time?

Blob Storage Check

We've got a use-case where we want to check that a backup has been completed.

In our case - backups generate dated folders - it'd be good to ensure that a backup exists based on the folder name within a storage account.

i.e. within storage account "foo" I want a check to ensure the folder /backups/2016-12-12/mysql exists

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::GemNotFound with message: Could not find gem 'kitchen-localhost (<= 0.3.0, >= 0.3)' in any of the gem sources listed in your Gemfile.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::GemNotFound with message: Could not find gem 'kitchen-localhost (<= 0.3.0, >= 0.3)' in any of the gem sources listed in your Gemfile.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::GemNotFound with message: Could not find gem 'kitchen-localhost (~> 0.3)' in any of the gem sources listed in your Gemfile.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Remaining Credits Check

When opening the portal there's a request to https://s2.billing.ext.azure.com/api/Billing/RemainingCredits - could be interesting for an alert?

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::GemNotFound with message: Could not find gem 'kitchen-localhost (~> 0.3)' in any of the gem sources listed in your Gemfile.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.