Luke Shirnia's repositories
out-of-memory
Out Of Memory Analyzer can be used to obtain and summarize "out of memory" issues logged by a Linux kernel (when oom-killer is invoked)
OOM-Killer-score
Python and bash scripts to analyze all system process oom_scores and sort by the highest value (most likely to get killed)
awesome-chatgpt-prompts
This repo includes ChatGPT prompt curation to use ChatGPT better.
process_uptime
Obtain the uptime and start date of a Linux process in pure python
traffic_analyser
Retrieve useful information from apache/nginx access logs to help troubleshoot traffic related problems
postfixbuddy
Python script to make general management of Postfix queues a little easier.
LinuxBackup
Backup your Linux filesystme on a cron using this script (includes tar, gpg encryption and rsync)
logfile-bandwidth-info
Gather the bandwidth usage of a domain from it's access log.
fail2ban
Ansible role for configuring fail2ban and jails including; sshd, xmlrpc, wp-login.php
CloudFuse
Ansible role for configuring cloudfuse and mounting cloudfiles containers to a mount point
direnv
Ansible role for configuring direnv on a Linux machine (RedHat + Debian OS families)
MySQLProcessCheck
Query the MySQL processlist with this python script. Log and email when queries are running longer than a set time
simple-php-shell
Simple PHP shell script, yet powerful enough.
magento_information
A script to gather Magento ecommerce information on Linux devices such as; database user/password/host, caching etc
SmallPythonScripts
A selection of small python scripts that don't deserve their own repo. These scrips can be used to test things on Linux devices.
strace-apache-check
Checks system calls, allowing for quick troubleshooting for a site hosted by apache on port 80
RecapParse
Quickly parse recap logs
uelastic
µElastic - Elastic Stack Home Edition
Holland
Missing holland default.conf; missing /etc/holland/backupsets/default.conf
phpmemcachedadmin
Graphic stand-alone administration for memcached
ServerUsage
This is a script that pulls in: RAM, CPU details along with other things.
magento_info_gathering
This script is designed to be run on Linux devices with Magento stores running on them.
ApacheConnectionTime
This script has been designed for apache monitoring alerts. Alerts such as time-outs, localhost timeouts, websites not loading etc.