This file contains 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
input { | |
zeromq { | |
type => "zeromq-type" | |
mode => "server" | |
topology => "pubsub" | |
address => "tcp://0.0.0.0:2021" | |
format => "json_event" | |
} | |
} |
This file contains 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
# -*- coding: utf-8 -*- | |
# vim: ft=yaml | |
--- | |
borg: | |
backup_key: '/root/.ssh/backup_key' | |
borgmatic: | |
location: | |
source_directories: | |
- /etc | |
- /home |
This file contains 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
mine_functions: | |
external_ip: | |
- mine_function: grains.get | |
- key: external_ip | |
ssh.host_keys: | |
- keydir: /etc/ssh | |
- private: False | |
ssh_backup_key: | |
- mine_function: ssh.user_keys | |
- user: root |
This file contains 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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains 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/bash | |
cat << END | |
[agent] | |
omit_hostname = true | |
[[outputs.file]] | |
files = ["stdout"] | |
data_format = "influx" |
This file contains 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 | |
""" | |
Module to ease work with nightscout profiles. | |
By default lists all profiles found, and supports following sub-commands: | |
* profiles - list defined profiles | |
* display - display named (or default) profile | |
(in nightscout or OpenAPS format) | |
* get - save to disk profile in OpenAPS format | |
""" |
This file contains 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
[global_tags] | |
[agent] | |
interval = "10s" | |
round_interval = true | |
metric_batch_size = 1000 | |
metric_buffer_limit = 10000 | |
collection_jitter = "0s" | |
flush_interval = "10s" | |
flush_jitter = "0s" | |
precision = "" |
This file contains 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
include: | |
- mongodb | |
setup nightscout: | |
pkg: | |
- installed | |
- names: | |
- git | |
- node | |
- supervisor |
This file contains 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
prepare mongodb: | |
pkg: | |
- installed | |
- pkgs: | |
- mongodb | |
- py-mongo | |
file: | |
- managed | |
- name: /etc/mongodb.conf | |
- source: salt://mongodb/mongodb.conf |
NewerOlder