42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
🛠️ System Reference Card
|
|
Access:
|
|
|
|
Web UI: https://config.tierzero.net
|
|
|
|
Admin Repo (NOC): rancid-admin (Edit noc_devices.tcl here)
|
|
|
|
Configs Repo: devices (View backups here)
|
|
|
|
Key File Locations (Server):
|
|
|
|
RANCID Config: /etc/rancid/rancid.conf
|
|
|
|
Device Type Overrides: /etc/rancid/rancid.types.conf (Where we defined cisco-clean)
|
|
|
|
Credentials (Encrypted 600): /var/lib/rancid/rancid_login_rules.tcl
|
|
|
|
Sync Script: /usr/local/bin/update-rancid-config.sh
|
|
|
|
Gitea Config: /etc/gitea/app.ini
|
|
|
|
Logs:
|
|
|
|
Sync Log: /var/log/rancid/rancid-sync.log
|
|
|
|
RANCID Logs: /var/log/rancid/
|
|
|
|
Troubleshooting Commands:
|
|
|
|
Force Sync from Gitea: sudo /usr/local/bin/update-rancid-config.sh
|
|
|
|
Force Backup Run: sudo -u rancid /usr/lib/rancid/bin/rancid-run
|
|
|
|
Test Login/Credentials: sudo -u rancid /usr/lib/rancid/bin/clogin <IP_ADDRESS>
|
|
|
|
Debug a Device Parse: sudo -u rancid /usr/lib/rancid/bin/rancid -d -t cisco-clean <IP_ADDRESS>
|
|
|
|
Automation:
|
|
|
|
Cron: Runs every 15 mins (Sync) and Hourly (Backup).
|
|
|
|
Log Rotation: Configured in /etc/logrotate.d/rancid-sync. |