diff options
author | ytti <saku@ytti.fi> | 2016-02-20 18:12:42 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-02-20 18:12:42 +0200 |
commit | 0b12bab3015e2968af3f57cee17ce39200d7306e (patch) | |
tree | 3cecb581ba3cff894bf160f83fd0bd4a90104274 /README.md | |
parent | 0c9b345159b7cb70994d95bdd07a191fc3ad23d8 (diff) | |
parent | 4bc8dd6144c96901caf16e3090bb6114444c37c0 (diff) |
Merge pull request #331 from danilopopeye/config-root-env-var
config root env var
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -141,6 +141,21 @@ Oxidized configuration is in YAML format. Configuration files are subsequently s To initialize a default configuration in your home directory ```~/.config/oxidized/config```, simply run ```oxidized``` once. If you don't further configure anything from the output and source sections, it'll extend the examples on a subsequent ```oxidized``` execution. This is useful to see what options for a specific source or output backend are available. +You can set the env variable `OXIDIZED_HOME` to change its home directory. + +``` +OXIDIZED_HOME=/etc/oxidized + +$ tree -L 1 /etc/oxidized +/etc/oxidized/ +├── config +├── log-router-ssh +├── log-router-telnet +├── pid +├── router.db +└── repository.git +``` + ## Source Oxidized supports ```CSV```, ```SQLite``` and ```HTTP``` as source backends. The CSV backend reads nodes from a rancid compatible router.db file. The SQLite backend will fire queries against a database and map certain fields to model items. The HTTP backend will fire queries against a http/https url. Take a look at the [Cookbook](#cookbook) for more details. |