sudo dnf install rsyslog -y
rpm -q rsyslog # check
dnf info rsyslog --verbose # check
sudo systemctl status rsyslog # status
sudo systemctl start rsyslog # start
sudo systemctl enable rsyslog # enable for reboot
echo "test message from fizz" | logger
This file contains hidden or 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
| cd tmp | |
| wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O jq | |
| chmod +x jq | |
| sudo cp jq /usr/bin |
This file contains hidden or 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
| version: '3' | |
| services: | |
| redis: | |
| image: redis | |
| container_name: redis | |
| ports: | |
| - 6379:6379 | |
| network_mode: host |
This file contains hidden or 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
| sudo firewall-cmd --zone=public --add-masquerade --permanent | |
| sudo firewall-cmd --reload |
This file contains hidden or 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
| version: '3' | |
| services: | |
| influx2: | |
| image: quay.io/influxdb/influxdb:2.0.0-beta | |
| container_name: influx2 | |
| volumes: | |
| - $PWD/data:/root/.influxdbv2 | |
| - $PWD/data/engine:/root/.influxdbv2/engine | |
| command: | |
| - --reporting-disabled |
This file contains hidden or 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
| version: '3' | |
| services: | |
| es01: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.9.0 | |
| container_name: es01 | |
| environment: | |
| - node.name=es01 | |
| - cluster.name=es-docker-cluster | |
| - cluster.initial_master_nodes=es01 | |
| - bootstrap.memory_lock=true |
This file contains hidden or 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
| # | |
| # A "httpie" container | |
| # | |
| # docker build --network host -t wh13371/httpie . | |
| # docker login | |
| # docker push wh13371/httpie | |
| # docker run -it --rm --network host wh13371/httpie | |
| # Usage: / # http 10.20.30.40:46664 | |
| # | |
| FROM alpine:latest |
This file contains hidden or 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
| hostname = "3c18ec3c89ea" | |
| data_dir = "/var/lib/kapacitor" | |
| skip-config-overrides = false | |
| default-retention-policy = "" | |
| [alert] | |
| persist-topics = true | |
| [http] | |
| bind-address = ":9092" |
This file contains hidden or 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 can be specified here in key="value" format. | |
| [global_tags] | |
| # Configuration for telegraf agent | |
| [agent] | |
| ## Default data collection interval for all inputs | |
| interval = "60s" | |
| ## Rounds collection interval to 'interval' | |
| ## ie, if interval="10s" then always collect on :00, :10, :20, etc. | |
| round_interval = true |
This file contains hidden or 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
| # Once every 24 hours InfluxDB will report usage data to usage.influxdata.com | |
| reporting-disabled = true | |
| [meta] | |
| # Where the metadata/raft database is stored | |
| dir = "/var/lib/influxdb/meta" | |
| [data] | |
| # The directory where the TSM storage engine stores TSM files. | |
| dir = "/var/lib/influxdb/data" |