NOC Editable Device Lists
Go to file
2025-12-08 15:48:42 -08:00
noc_devices.tcl Update noc_devices.tcl 2025-12-08 13:06:47 -08:00
README.md Add README.md 2025-12-08 15:48:42 -08:00
router.db Update router.db 2025-12-08 13:18:27 -08:00

🛠️ 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.