From 7cae2515c191cab528a2a34babff13ec268ece35 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Sat, 28 Mar 2026 05:42:08 +0100 Subject: [PATCH] change title --- .claude/settings.json | 15 +++++++++++++++ .mcp.json | 12 ++++++++++++ .../autopilot-monitor-web/app/about/layout.tsx | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .claude/settings.json create mode 100644 .mcp.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 00000000..df247c19 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "permissions": { + "allow": [ + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp > ago\\(5m\\) | where message has ''initialized with'' or message has ''Managed Identity'' or message has ''connection string'' or message has ''not configured'' or message has ''Table Storage'' or message has ''Blob Storage'' | project timestamp, message, severityLevel | order by timestamp desc | take 20\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"exceptions | where timestamp > ago\\(5m\\) | project timestamp, outerMessage, innermostMessage, problemId | order by timestamp desc | take 10\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp > ago\\(5m\\) | where message startswith ''Executed'' | project timestamp, message, operation_Name | order by timestamp desc | take 5\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp > ago\\(5m\\) | where message startswith ''Executed'' | where message contains ''Failed'' | project timestamp, message, operation_Name | order by timestamp desc | take 10\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp > ago\\(10m\\) | where message has ''initialized'' or message has ''Initializing'' | project timestamp, message, severityLevel | order by timestamp desc | take 20\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp between \\(datetime\\(2026-03-28T03:53:45Z\\) .. datetime\\(2026-03-28T03:53:55Z\\)\\) | project timestamp, message, severityLevel | order by timestamp asc | take 50\" PT1H)", + "Bash(.claude/commands/scripts/query-appinsights.sh \"traces | where timestamp > datetime\\(2026-03-28T03:53:00Z\\) | where message startswith ''Executed'' | extend status = iif\\(message contains ''Succeeded'', ''Succeeded'', ''Failed''\\) | summarize total=count\\(\\), failed=countif\\(status == ''Failed''\\) by operation_Name | where failed > 0 | order by failed desc\" PT1H)", + "Bash(echo \"exit: $?\")", + "mcp__autopilot-monitor__list_blocked_devices" + ] + } +} diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 00000000..3780a399 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "autopilot-monitor": { + "command": "node", + "args": ["src/McpServer/autopilot-monitor-mcp/dist/index.js"], + "env": { + "AUTOPILOT_API_URL": "https://autopilotmonitor-api.azurewebsites.net", + "AUTOPILOT_API_KEY": "${AUTOPILOT_API_KEY}" + } + } + } +} diff --git a/src/Web/autopilot-monitor-web/app/about/layout.tsx b/src/Web/autopilot-monitor-web/app/about/layout.tsx index 7645d0c5..2105e8c1 100644 --- a/src/Web/autopilot-monitor-web/app/about/layout.tsx +++ b/src/Web/autopilot-monitor-web/app/about/layout.tsx @@ -1,7 +1,7 @@ import type { Metadata } from "next"; export const metadata: Metadata = { - title: "About Autopilot Monitor – Real-Time Windows Autopilot Monitoring Tool", + title: "About – Real-Time Windows Autopilot Monitoring", description: "Autopilot Monitor is a free, open-source real-time monitoring and troubleshooting platform for Windows Autopilot enrollments managed via Microsoft Intune. Built by Oliver Kieselbach.", keywords: [