Skip to content

Instantly share code, notes, and snippets.

View solo-seven's full-sized avatar

Brian Ashburn solo-seven

View GitHub Profile
{
"name": "telegraf-source",
"connector.class": "io.confluent.influxdb.source.InfluxdbSourceConnector",
"influxdb.url": "http://localhost:8088",
"topic.prefix": "influxdb_",
"influxdb.db": "telegraf"
}
@solo-seven
solo-seven / create_alert.py
Created September 12, 2018 19:09
Script for creating an alert for a service
#
# create_alert.py - Create an alert for an email address
#
import sys
import requests
import json
#!/bin/sh
# chkconfig: 2345 20 80
### BEGIN INIT INFO
# Provides: signalfx-agent
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: SignalFx Agent
This file has been truncated, but you can view the full file.
# Telegraf Configuration
#
# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared inputs, and sent to the declared outputs.
#
# Plugins must be declared in here to be active.
# To deactivate a plugin, comment out the name and any variables.
#
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config
# file would generate.
@solo-seven
solo-seven / create_dashboard.py
Last active July 19, 2018 17:32
Python Script for creating charts and a dashboard based on a service name
#
# create_dashboards.py - A script for creating a set of dashboards for a specific service
#
import json
import sys
import requests
def main():

AquaSnap Keyboard Shortcuts

The default keyboard shortcuts

Window management

Action Shortcut 1 Shortcut 2
Maximize Win+Return Win+NumPad5
Maximize across all monitors Shift+Win+Return Shift+Win+NumPad5
@solo-seven
solo-seven / i3-cheat-sheet.md
Created January 23, 2017 13:57 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
This file has been truncated, but you can view the full file.
-- Logs begin at Tue 2016-07-05 18:57:39 EDT, end at Wed 2016-07-06 11:12:29 EDT. --
Jul 06 09:33:07 dv00001 systemd[1]: Starting Atomic OpenShift Node...
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: I0706 09:33:07.917831 54326 plugins.go:71] No cloud provider specified.
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: I0706 09:33:07.917969 54326 common.go:54] Starting with configured hostname 'dv00001.csxt.csx.com' (IP '')
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: I0706 09:33:07.918253 54326 common.go:79] Initializing single-tenant plugin for dv00001.csxt.csx.com (10.101.39.25)
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: I0706 09:33:07.918285 54326 start_node.go:288] Starting node dv00001.csxt.csx.com (v3.2.1.1-1-g33fa4ea)
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: I0706 09:33:07.919737 54326 start_node.go:297] Connecting to API server https://dv00001.csxt.csx.com:8443
Jul 06 09:33:07 dv00001 atomic-openshift-node[54326]: F0706 09:33:07.924438 54326
[OSEv3:children]
masters
nodes
[OSEv3:vars]
ansible_ssh_user=root
deployment_type=openshift-enterprise
openshift_master_cluster_hostname=dv00001.custt.cust.com