|
| 1 | +# 📚 BashOps Prompt Cheatsheet |
| 2 | + |
| 3 | +This cheatsheet provides examples of effective prompts to get the most out of BashOps Agent across different infrastructure domains. |
| 4 | + |
| 5 | +## 🐧 System & OS Diagnostics |
| 6 | +* "What is eating my RAM right now? Show me the top 5 processes." |
| 7 | +* "Check the disk space on the root partition. Is it critically full?" |
| 8 | +* "Are there any failed systemd services?" |
| 9 | +* "Show me the active network connections on port 80 and 443." |
| 10 | +* "What is the current system uptime and load average?" |
| 11 | + |
| 12 | +## 🐳 Docker & Containers |
| 13 | +* "Is the docker service healthy and running?" |
| 14 | +* "List all running containers and their resource usage." |
| 15 | +* "Show me the last 50 lines of logs for the 'nginx' container." |
| 16 | +* "Are there any exited containers that I should clean up?" |
| 17 | + |
| 18 | +## ☸️ Kubernetes (K8s) Orchestration |
| 19 | +* "Are all pods in the kube-system namespace running fine?" |
| 20 | +* "Find any pods continuously restarting (CrashLoopBackOff) in the default namespace." |
| 21 | +* "Check the events in the monitoring namespace for any recent warnings or errors." |
| 22 | +* "Describe the node resource limits and current usage." |
| 23 | +* "What is the status of the ingress controller?" |
| 24 | + |
| 25 | +## 📈 Observability (Prometheus) |
| 26 | +* "Are all prometheus targets currently up?" |
| 27 | +* "What is the CPU usage trend for the last 30 minutes according to prometheus?" |
| 28 | +* "Show me the available memory across all nodes via PromQL." |
| 29 | +* "Are there any active alerts firing in Alertmanager?" |
| 30 | + |
| 31 | +## 🛡️ Security & Wazuh SIEM |
| 32 | +* "What are the most critical recent security alerts in wazuh?" |
| 33 | +* "Are all Wazuh agents currently connected and active?" |
| 34 | +* "Show me any failed SSH login attempts recorded recently." |
| 35 | +* "Summarize the security events with severity level 12 or higher." |
| 36 | + |
| 37 | +--- |
| 38 | +**💡 Pro Tip:** You can chain these! Try asking: *"Check if the database pod is running, and if it is, show me its RAM usage."* |
0 commit comments