Use this if
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps.
- Audience
- Operations engineers, DevOps teams, security operations teams
- Typical time
- 5-15 minutes
公开指南
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps. 受众: Operations engineers, DevOps teams, security operations teams. 典型配置时长: 5-15 minutes.
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps.
步骤 1
Diagnose problems with sensor container initialization and API key retrieval.
What success looks like
Confirm network connectivity to the platform API: curl -v https://api.blackshield.chaplau.com/health
步骤 2
Verify packets are reaching the sensor and being processed.
What success looks like
Verify sensor interface is NOT in promisc mode race condition: ip link show [interface]
步骤 3
Ensure the sensor can reach and authenticate with the platform.
What success looks like
Test with different network path (via NAT, proxy, etc.) if behind firewall.
步骤 4
Verify the sensor health endpoint and readiness probe.
What success looks like
Review container resource limits: docker inspect [id] | grep -A 10 HostConfig
步骤 5
Monitor CPU, memory, and disk usage; adjust configuration if needed.
What success looks like
Disk full: docker exec [id] du -sh /var/log/ — remove old scan logs or increase EBS/disk size.
步骤 6
Diagnose why expected findings are not appearing in the platform.
What success looks like
Confirm findings are being sent: docker exec [id] tcpdump -i eth0 host api.blackshield.chaplau.com dst port 443 -A | grep -i 'blackshield'
#!/bin/bash
# Quick troubleshooting commands
docker ps -a | grep network-sensor
docker logs -f "$(docker ps -q | head -1)" | tail -50
curl -s -H "Authorization: Bearer $BLACKSHIELD_API_KEY" https://api.blackshield.chaplau.com/api/v1/health