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
ChatGPT Notes — since this is a **production RHEL 8 MySQL box** that’s been seizing up, you want to collect metrics without introducing instability or big dependencies. Let’s walk through some **safe, lightweight options** for diagnosing system health. I’ll break it down into **quick wins** (things you can enable right away) and **deeper observability** approaches you can adopt gradually. | |
--- | |
## ✅ Quick, Non-Invasive Metrics Collection | |
### 1. **Enable SNMP for PRTG** | |
* Install SNMP: |
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: "2.0" | |
services: | |
db: | |
image: mysql/mysql-server:latest | |
env: | |
- MYSQL_ROOT_PASSWORD=PASSWORD#1 | |
- MYSQL_DATABASE=DBNAME#1 | |
- MYSQL_USER=DBUSER#1 |
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
<?php | |
/* | |
Plugin Name: Skynet Offloader | |
Description: Media uploads to the blog get sent to skynet... prepare for judgement day | |
Version: 1.0 | |
Author: @nrm55 | |
Author URI: https://twitter.com/nrm55 | |
License: MIT | |
License URI: https://raw.githubusercontent.com/git/git-scm.com/main/MIT-LICENSE.txt | |
*/ |
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
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main() | |
{ | |
string sentence = "hello worlda"; | |
string sub_stri = "world"; |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |