Advanced Search
Search Results
378 total results found
ESXi Commands
Check whether the /tmp directory is full vdf | grep tmp System Module esxcli system module list esxcli system module set --enabled=false --module=<module-name> esxcli system module set --enabled=true --module=<module-name> 手動修改 vmx 經由 OVF 匯入 VM 後,設定裡...
Installation
Install on CentOS 7 URL: https://downloads.mariadb.org/mariadb/repositories/#mirror=mephi&distro=CentOS&distro_release=centos7-amd64--centos7 /etc/yum.repos.d/MariaDB.repo # MariaDB 10.5 CentOS repository list - created 2021-05-08 02:51 UTC # http...
Installation
With Docker Run Grafana Docker image | Grafana documentation Configure Docker image | Grafana documentation docker volume create grafana-storage docker run -d --name=grafana -p 3000:3000 \ -v grafana-storage:/var/lib/grafana \ grafana/grafana ...
Learning
Dashboard Visualizing Visualising Latency Variance in Grafana in 2019 [Grafana] Troubleshoot queries MySQL Monitoring 2MySQL Simple Dashboard 2MySQL Simple Dashboard 4 MariaDB my2Collector [Video] Grafana : Install MySQL Dashboard and Collector in...
InfluxDB
Installation Install InfluxDB | InfluxDB OSS v2 Documentation (influxdata.com) Download: https://portal.influxdata.com/downloads/ Install Influx DB # Red Hat/CentOS/Fedora cat <<EOF | sudo tee /etc/yum.repos.d/influxdata.repo [influxdata] name = In...
Learning cURL
Basics of HTTP Requests with cURL: An In-Depth Tutorial Curl Cookbook Httpie - Alternative to Curl
sudo
The Difference Between Su, Sudo Su, Sudo -i, and Sudo -s How To Run All Programs In A Directory Via Sudo In Linux 10 Useful Sudoers Configurations for Setting 'sudo' in Linux 常用指令 # 以用戶 john 執行 SHELL sudo -u john bash -c "whoami" # 以用戶 john 開啟 vnc ...
tmux
Sessions Start session tmux new tmux new -s mysession Show sessions tmux ls Kill sessions tmux kill-session -t mysession tmux kill-session -a ;kill all sessions but last session Attach sessions tmux a tmux a -t # tmux a -t mysessio...
vSphere Monitoring
Method #1: Telegraf + InfluxDB VMware vSphere - Overview | Grafana Labs Telegraf: VMware vSphere Input Plugin Install Telegraf Download: https://portal.influxdata.com/downloads/ yum localinstall telegraf-1.18.3-1.x86_64.rpm Configure Telegraf Create...
Parallel and Multi-thread
GNU Parallel Official: https://www.gnu.org/software/parallel/ Download: http://ftp.gnu.org/gnu/parallel/ Install # CentOS 7 yum group install "Development Tools" wget http://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2 tar xjf parallel-latest.tar.bz2...
vCenter Patch
官方連結 教學:VMware vCenter Server 6.7 Update 3n Release Notes 下載: Product Patches - VMware Customer Connect 步驟程序 下載 Patch file: VMware-vCenter-Server-Appliance-6.7.0.48000-18010531-patch-FP.iso 上傳 *.iso 到 vCenter VM 可以存取的任一個 datastore 裡 (Recommend: 建立一個...
Telegraf
Installation Install Telegraf | Telegraf 1.26 Documentation (influxdata.com) RHEL cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo [influxdb] name = InfluxData Repository - Stable baseurl = https://repos.influxdata.com/stable/\$basearch/main enab...
pip
Installation Tutorials Install packages in a virtual environment using pip and venv - Python Packaging User Guide NOTE: The following commands still require internet connection. get-pip.py # Latest version of python curl https://bootstrap.pypa.io/get...
Learning
Official URLs Documentation PBX GUI Home - PBX GUI - Sangoma Documentation (atlassian.net) Community Asterisk: https://community.asterisk.org/ FreePBX: https://community.freepbx.org/ Github Asterisk: https://github.com/asterisk FreePBX: ht...
DB2 Monitoring
Prerequisites InfluxDB (the host is the same as Grafana) Separated Linux host Install and running telegraf Install DB2 Client Implement custom scripts InfluxDB 新增 database > create database db2_mon with duration 180d > create user mon ...
Dashboards Setup
Variables Get the value from a tag > show tag values from "snapdb" with key="db" Get the value from a field > select DISTINCT("vmname") from (select "ready_summation","vmname" from "vsphere_vm_cpu") Query Editor InfluxQL with InfluxDB v2 SELECT * FROM c...
Why Monitoring
Why Monitoring Sample #1 Know when things go wrong Detection & Alerting Be able to debug and gain insight Detect changes over time and drive technical/business decisions Feed into other system/processes (e.g. security, automation) Sample #...
Prometheus
Installation Download: Download | Prometheus ,select Operating system: linux, Architecture: amd64 tar xzf prometheus-2.43.0.linux-amd64.tar.gz mv prometheus-2.43.0.linux-amd64 /opt/prometheus 第一次啟動 cd /opt/prometheus/ ./prometheus --config.file="promethe...
Learning
Tutorials Create your own custom Raspberry Pi image PiShrink – Make Raspberry Pi Images Smaller Getting Started with Raspberry Pi | Random Nerd Tutorials RaspberryTips – Raspberry Pi projects and tutorials Pi Kiosk https://github.com/geerlingguy/pi...
Plugins
Install plugin on local Grafana Option 1: with grafana-cli # Internet network is required # reference to https://grafana.com/docs/grafana/latest/administration/cli/#plugins-commands grafana-cli plugins install marcusolsson-hourly-heatmap-panel Option 2: m...