Difference between revisions of "Oxidized"

From HackerNet
Jump to: navigation, search
Line 1: Line 1:
[[Rancid]]-ersättare
+
[https://github.com/ytti/oxidized Oxidized] är ett backup tool för nätverk devices. Alltså en ersättare till [[Rancid]].
https://github.com/ytti/oxidized
 
  
 +
'''Supportade OS.'''
 +
* A10 Networks ACOS
 +
* Alcatel-Lucent ISAM 7302/7330
 +
* Alcatel-Lucent Operating System AOS
 +
* Alcatel-Lucent Operating System AOS7
 +
* Alcatel-Lucent Operating System Wireless
 +
* Alcatel-Lucent TiMOS
 +
* Arista EOS
 +
* Brocade Fabric OS
 +
* Brocade Ironware
 +
* Brocade NOS (Network Operating System)
 +
* Brocade Vyatta
 +
* Cisco AireOS
 +
* Cisco ASA
 +
* Cisco IOS
 +
* Cisco IOS-XR
 +
* Cisco NXOS
 +
* Cisco SMB (Nikola series)
 +
* Cumulus Linux
 +
* DELL PowerConnect
 +
* Extreme Networks XOS
 +
* Force10 FTOS
 +
* FortiGate FortiOS
 +
* HP Comware (HP A-series, H3C, 3Com)
 +
* HP ProCurve
 +
* Huawei VRP
 +
* Juniper JunOS
 +
* Juniper ScreenOS (Netscreen)
 +
* Mikrotik RouterOS
 +
* Ubiquiti AirOS
 +
* Palo Alto PAN-OS
 
==Installation==
 
==Installation==
 
  apt-get update && apt-get -y install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake
 
  apt-get update && apt-get -y install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake

Revision as of 15:30, 11 August 2015

Oxidized är ett backup tool för nätverk devices. Alltså en ersättare till Rancid.

Supportade OS.

  • A10 Networks ACOS
  • Alcatel-Lucent ISAM 7302/7330
  • Alcatel-Lucent Operating System AOS
  • Alcatel-Lucent Operating System AOS7
  • Alcatel-Lucent Operating System Wireless
  • Alcatel-Lucent TiMOS
  • Arista EOS
  • Brocade Fabric OS
  • Brocade Ironware
  • Brocade NOS (Network Operating System)
  • Brocade Vyatta
  • Cisco AireOS
  • Cisco ASA
  • Cisco IOS
  • Cisco IOS-XR
  • Cisco NXOS
  • Cisco SMB (Nikola series)
  • Cumulus Linux
  • DELL PowerConnect
  • Extreme Networks XOS
  • Force10 FTOS
  • FortiGate FortiOS
  • HP Comware (HP A-series, H3C, 3Com)
  • HP ProCurve
  • Huawei VRP
  • Juniper JunOS
  • Juniper ScreenOS (Netscreen)
  • Mikrotik RouterOS
  • Ubiquiti AirOS
  • Palo Alto PAN-OS

Installation

apt-get update && apt-get -y install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake
gem install oxidized
gem install oxidized-script oxidized-web

Konfiguration

Konfigurationen är på YAML-format. Default finns i: /etc/oxidized/config och sedan ~/.config/oxidized/config

För att initiera oxidized i ditt home directory kör:

mkdir -p ~/.config/oxidized
oxidized

Oxidized har stöd för CSV, SQLite och HTTP som source backends. CSV backend läser vilka enheter som det ska tas backup på från en rancid-kompatibel fil.

CSV source:

 default: csv
 csv:
   file: ~/.config/oxidized/router.db
   delimiter: !ruby/regexp /:/
   map:
     name: 0
     model: 1

router.db

router01.example.com:ios
switch01.example.com:procurve
172.20.0.1:ios

För att ta en första backup

oxidized