- Create docs/bible/ with 10 structured chapters (overview, architecture, API, data models, collectors, parsers, exporters, build, testing, decisions) - All documentation in English per ADL-007 - Record all existing architectural decisions in docs/bible/10-decisions.md - Slim README.md to user-facing quick start only - Replace CLAUDE.md with a single directive to read and follow the Bible - Remove absorbed files: REANIMATOR_EXPORT.md, docs/INTEGRATION_GUIDE.md, and all vendor parser README.md files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
LOGPile
LOGPile — standalone Go-приложение для анализа диагностических данных BMC.
Поддерживает два сценария:
- Загрузка архивов/снапшотов и оффлайн-анализ в веб-интерфейсе.
- Live-сбор через Redfish API с последующим экспортом.
Сборка
make build # bin/logpile (текущая платформа)
make build-all # все платформы в bin/
Требования: Go 1.22+
Запуск
./bin/logpile
./bin/logpile --port 8082
./bin/logpile --no-browser
./bin/logpile --version
На Windows --hold-on-crash включён по умолчанию (консоль не закрывается при падении).
macOS: снятие карантина
xattr -d com.apple.quarantine /path/to/logpile-darwin-arm64
Форматы загрузки
POST /api/upload принимает:
- архивы:
.tar,.tar.gz,.tgz - JSON snapshot (
AnalysisResult)
Live Redfish
POST /api/collect
{
"host": "bmc01.example.local",
"protocol": "redfish",
"port": 443,
"username": "admin",
"auth_type": "password",
"password": "secret",
"tls_mode": "insecure"
}
Экспорт
GET /api/export/csv— серийные номераGET /api/export/json— полный AnalysisResultGET /api/export/reanimator— формат Reanimator
Архитектурная документация
Лицензия
MIT — см. LICENSE.