Skip to main content

Panacea CLI – Analyzers & Formatters

Analyzer Tools

Kompletten Report für ein Log-Bundle generieren — übersichtlich nach Services und CVMs sortiert zum Durchklicken

panacea run

Detailed storage usage breakdown for a container (garbage/overhead, VM/VG/image usage, snapshots)

panacea_cli summ.py --container_name=<container> [--mode calculate_usage|ui|skip_cache] [--days <n>]

Root-cause analysis for failed AHV workflows: AHV upgrade, VM migration, AOS upgrade, Backplane Network Segmentation

panacea_cli ahv_analyzer.py --workflow=<ahv_upgrade|vm_migrate|aos_upgrade|ns_backplane_segmentation> --env=live
panacea_cli ahv_analyzer.py --workflow=<...> --env=log --path=<log bundle path>

Automated checks to help root-cause a degraded node (runs a sequence of NCC checks)

panacea_cli dnd_analyzer.py

Real-time and historic CPU/memory/IO stats for the running cluster (NCC 4.6+)

panacea_cli narf.py

 

 

Formatters (tools/formatters/)

Work on a live cluster or a log bundle, usually piped after the raw command

<command> | format_<name>

SVM/host/IPMI IP table from a Zeus config excerpt

awk '/<timestamp>/,/^$/' data/logs/sysstats/zeus_config.INFO | format_all_ips

Formats all_ssh.sh output per host

TARGET=svms OUTSYNC=0 all_ssh.sh <command> | format_all_ssh

Bash history with readable timestamps

format_bash_history ~/.bash_history

Stargate activity traces (Op + parameters on one line)

Arithmos time-range stats with readable timestamps

arithmos_cli master_get_time_range_stats ... | format_arithmos_time_range_stats

Audit log with readable timestamps

sudo cat /home/log/audit/audit.log | format_audit_logs

Cassandra status history from a Zeus config sample

zeus_config_printer | format_cassandra_status_history

dmesg with readable timestamps

dmesg | format_dmesg_logs

Sysstat logs (12h to 24h, timestamp prepended)

cat data/logs/sysstats/cassandra_gc_stats.INFO | format_sysstat_logs

zeus_config with helpful annotations

zeus_config_printer | format_zeus_config