This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| import random | |
| import math | |
| import threading | |
| import os | |
| import sys | |
| from urllib2 import build_opener, Request, HTTPHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # my global config | |
| global: | |
| scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
| evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
| # scrape_timeout is set to the global default (10s). | |
| # Alertmanager configuration | |
| alerting: | |
| alertmanagers: | |
| - static_configs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| pattern="Resource_Performance_Test_high:gnocchi.test.redhat.com.12" | |
| policy="high" | |
| #resource | |
| arr_resource=() | |
| idx=0 | |
| for i in $(gnocchi resource list | grep $pattern | cut -d "|" -f 2) | |
| do | |
| arr_resource[idx]=$i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tuesday 10 October 2017 09:49:19 -0400 (0:00:00.681) 0:29:04.277 ******* | |
| fatal: [undercloud]: FAILED! => { | |
| "changed": false, | |
| "failed": true, | |
| "invocation": { | |
| "module_args": { | |
| "msg": [ | |
| "### controller-token FAILED ###", | |
| "Task 'Check if token value is disabled.' failed:", | |
| "Host: localhost", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########################### | |
| #install Collectd | |
| ########################### | |
| $ git clone https://github.com/ajssmith/collectd.git | |
| $ cd collectd/ | |
| [collectd]$ git checkout amqp1_dev_branch | |
| [collectd]$./build.sh | |
| [collectd]$./configure | |
| #Check out put to confirm amqp1 modules is available |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| librdkafka/examples/rdkafka_performance -C -t FAILURE_EVENT_3 -o end -p=3 -b 10.19.110.7:9092,10.19.110.9:9092,10.19.110.11:9092 -u -l > consumer_final.txt 2>&1 | |
| # producer | |
| librdkafka/examples/rdkafka_performance -P -t FAILURE_EVENT_3 -p=3 -M -b 10.19.110.7:9092,10.19.110.9:9092,10.19.110.11:9092 -u -l -m "PRODUCER SENDING MESSAGE" -s 64 > producer_final.txt 2>&1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: VCPE-Demo | |
| # NOT USED | |
| #imports: | |
| # - tacker_nfv_defs.yaml | |
| # - tacker_defs.yaml | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: VCPE-Demo | |
| # NOT USED | |
| #imports: | |
| # - tacker_nfv_defs.yaml | |
| # - tacker_defs.yaml | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: VCPE-Demo | |
| # NOT USED | |
| #imports: | |
| # - tacker_nfv_defs.yaml | |
| # - tacker_defs.yaml | |
| metadata: |