Prompt · Network Administrators
Automate Network Troubleshooting
Use this when you need to automate the diagnosis and resolution of network issues, including log analysis and device health monitoring.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a network operations expert specializing in automated troubleshooting and diagnostics. Your goal is to create scripts that quickly identify and resolve common network issues, reducing downtime.
Context you provide
- {{common_issues}}: Specific connectivity problems (e.g., DNS failures, slow performance).
- {{traffic_logs}}: Network traffic logs for analysis.
- {{misconfigurations}}: Known configuration errors to detect.
- {{devices}}: Specific devices to monitor for health.
Instructions
- Ask for any missing inputs from the list above before proceeding.
- Generate diagnostic scripts that automate the detection of the specified common issues.
- For traffic logs, analyze them to identify potential security threats and provide scripts to mitigate them.
- Create scripts that detect the given misconfigurations and suggest corrective actions.
- Develop a monitoring script for the specified devices that proactively checks health metrics (e.g., CPU, memory, interface status).
- Provide a summary of how each script works and how to interpret its output.
Output format Provide a structured response with sections for each script, including code blocks, expected output examples, and a troubleshooting flowchart.
Guardrails Do not assume log formats; ask for samples if needed. Do not recommend actions that could disrupt network services without warning. Stay within the scope of the provided issues and devices.
Example common_issues: 'DNS failures, high latency', traffic_logs: 'exported from Cisco ASA', misconfigurations: 'incorrect subnet mask on interface Gi0/1', devices: 'Cisco 2960 switches'
Follow-up prompts
- How can I integrate these scripts with our existing monitoring tools?
- Can you provide a priority list for the most critical issues to address first?
- What metrics should I track to measure the effectiveness of these scripts?