KVM を libvirt でホストしていて、prometheus と grafana で観測したい場合。 exporter の実装は 3 種類みつかる。流儀が異なり、メトリクスが異なるので注意。
- libvirt_exporter (Go)
- grafana json + prometheus recording rule
- prometheus の設定ファイルで recording rule を有効化します。
- job 名は
libvirt_exporter
KVM を libvirt でホストしていて、prometheus と grafana で観測したい場合。 exporter の実装は 3 種類みつかる。流儀が異なり、メトリクスが異なるので注意。
libvirt_exporter
#!/bin/bash | |
date -d "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')" | |
Load up your secure shell. | |
Attempt to connect to your remote host (this step may not be necessary, but it doesn't hurt) | |
Press <ctrl>+<shift>+j to bring up the javascript console. | |
Type: | |
term_.command.removeAllKnownHosts() | |
Reconnect to host |
http://onhub.here/api/v1/status | |
http://onhub.here/api/v1/diagnostic-report | |
http://onhub.here/api/v1/welcome-mat | |
http://onhub.here/api/v1/connected-devices | |
http://onhub.here/api/v1/get-attestation-information | |
http://onhub.here/api/v1/get-endorsement-information |
#My Notes on My First Snap Building Experience
Hi, I wanted to try building a Snap package, so from my experiment thought on leave what my wandering left me, lot's of this content is from the Ubuntu Desktop Developer website . The website has a nice getting started too! .
import argparse | |
import json | |
import re | |
import sys | |
import uuid | |
class OpenVPNNetworkConfiguration(object): | |
KNOWN_CONFIG_KEYS = { | |
'name': {'key': 'Name'}, |
Chromium OS is cool. Chromium OS with crouton is cooler. Chromium OS with Docker is even cooler. This is specifically a guide for the Chromebook Pixel 2 (2015), but I can't think of any reason it wouldn't work with other devices.
scriptencoding utf-8 | |
set nocompatible | |
"Basic Settings {{{1 | |
" Encoding {{{2 | |
set encoding=utf-8 | |
set termencoding=utf-8 | |
set fileencoding=utf-8 | |
" Text Wrapping {{{2 |