Skip to content

Instantly share code, notes, and snippets.

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:
---
version: "2.0"
services:
db:
image: mysql/mysql-server:latest
env:
- MYSQL_ROOT_PASSWORD=PASSWORD#1
- MYSQL_DATABASE=DBNAME#1
- MYSQL_USER=DBUSER#1
<?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
*/
@mrn55
mrn55 / sub_str_in_str.cpp
Created January 29, 2018 00:19
C++ Function to test for given sub_str in str
#include <iostream>
#include <string>
using namespace std;
int main()
{
string sentence = "hello worlda";
string sub_stri = "world";
@mrn55
mrn55 / .bash_profile
Created March 24, 2017 17:27 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# 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