Troubleshooting
Agent Troubleshooting Guide — Ayzal AI SOC
Common agent issues and how to fix them — connectivity, permissions, and log checking.
Updated 2026-07-17
Agent Troubleshooting Guide
Diagnose and resolve common agent issues quickly with these step-by-step solutions.
● Checking Agent Status
sudo systemctl status soc-agentExpected output: Active: active (running)
● Viewing Agent Logs
# Recent activity tail -50 /opt/agentic-soc-agent/agent.log # Live logs sudo journalctl -u soc-agent -f # Actions log (remediation history) tail -50 /opt/agentic-soc-agent/actions.log● Common Issues and Fixes
Issue: Agent is not running
sudo systemctl start soc-agent sudo systemctl enable soc-agent # Auto-start on bootIssue: No alerts appearing on dashboard
- Check agent connectivity:
- Expected response:
{"processed":1,"alerts_created":1} - If connection fails, check firewall:
sudo iptables -L - Verify API key is active in Settings
Issue: Agent is not detecting attacks
- Check that auth logs exist:
ls -la /var/log/auth.logor/var/log/secure - Trigger a test event:
ssh invalid@localhost(try wrong password) - Check agent log:
tail -f /opt/agentic-soc-agent/agent.log - You should see:
[DATE] SENT: auth_failure
Issue: Auto-block not working
- Check that auto-remediation is enabled in Settings
- Verify the alert severity is CRITICAL or HIGH
- Check that the IP is not whitelisted or a private IP
- View actions log:
tail -f /opt/agentic-soc-agent/actions.log
Quick Tip: Most issues are resolved by checking connectivity, verifying the API key, and confirming logs are being generated. Always start with sudo systemctl status soc-agent to verify the agent is running.
