diff options
author | Stefan Schlesinger <sts@ono.at> | 2014-10-22 22:24:13 +0200 |
---|---|---|
committer | Stefan Schlesinger <sts@ono.at> | 2014-10-22 22:24:13 +0200 |
commit | 6b28ac0667b1f1a84353e0d3ac5f10462d87a98c (patch) | |
tree | d96c2619b10e6248bc24dd5fdeca14a8c26336bc /README.md | |
parent | 444ed4ddbf3a0dd3796d402f5ee27989d98dbd56 (diff) |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -87,6 +87,11 @@ gem install oxidized-script oxidized-web To initialize an empty configuration file, simply run ```oxidized``` once to create a config in you home directory ```~/.config/oxidized/config```. The configuration file is in YAML format. +Create the directory where the ```output``` is going to store configurations: +``` +mkdir ~/.config/oxidized/configs +``` + Lets tell Oxidized where it finds a list of network devices to backup configuration from. You can either use CSV or SQLite as source. To create a CVS source add the following snippet: ``` @@ -182,27 +187,30 @@ source: ``` ### Default Configuration -If you don't configure output and source, it'll further fill them with example -configs for your chosen output/source in subsequent runs +If you don't configure output and source, it'll further fill them with example configs for your chosen output/source in subsequent runs. + ``` --- username: username password: password model: junos interval: 3600 -log: "/home/fisakytt/.config/oxidized/log" +log: ~/.config/oxidized/log debug: false threads: 30 -timeout: 30 +timeout: 20 +retries: 3 prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/ rest: 127.0.0.1:8888 vars: {} +groups: {} input: default: ssh, telnet + debug: false ssh: secure: false output: - default: git + default: file source: default: csv model_map: @@ -217,11 +225,11 @@ output: git: user: Oxidized email: o@example.com - repo: "/home/fisakytt/.config/oxidized/oxidized.git" + repo: "~/.config/oxidized/oxidized.git" source: default: csv csv: - file: "/home/fisakytt/.config/oxidized/router.db" + file: "~/.config/oxidized/router.db" delimiter: !ruby/regexp /:/ map: name: 0 |