InfluxData's T.I.C.K. stack is made up from the following components:
| Component | Role |
|---|---|
| Telegraf | Data collector |
| InfluxDB | Stores data |
| Chronograf | Visualizer |
| #!/bin/bash | |
| name=$RANDOM | |
| url='http://localhost:9093/api/v1/alerts' | |
| echo "firing up alert $name" | |
| # change url o | |
| curl -XPOST $url -d "[{ | |
| \"status\": \"firing\", |
| import boto3 | |
| import logging | |
| #setup simple logging for INFO | |
| logger = logging.getLogger() | |
| logger.setLevel(logging.INFO) | |
| #define the connection | |
| ec2 = boto3.resource('ec2') |
| #!/usr/bin/env bash | |
| URL="http://a0.awsstatic.com/pricing/1/ec2/ri-v2/linux-unix-shared.min.js" | |
| (echo 'function callback(data) { console.log(JSON.stringify(data)); }'; curl -s "$URL") |\ | |
| node |\ | |
| jq -r '.config.regions[] | | |
| select(.region == "us-east-1") | | |
| .instanceTypes[] | | |
| [ |
| ## Configure eth0 | |
| # | |
| # vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
| DEVICE="eth0" | |
| NM_CONTROLLED="yes" | |
| ONBOOT=yes | |
| HWADDR=A4:BA:DB:37:F1:04 | |
| TYPE=Ethernet | |
| BOOTPROTO=static |