diff options
author | devicenull <devicenull@users.noreply.github.com> | 2017-01-11 14:36:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 14:36:12 -0500 |
commit | 4eab96336f582c2c190d4ec8ef30133e96f6d6cf (patch) | |
tree | 679d4a44ecf6bc48fc1330911113add880334624 /README.md | |
parent | ab9262d31399cf8feeea18ac9bbbda812bf99404 (diff) |
Add suggestion to set `ip` variable in CSV reader
We have around ~1000 nodes, and oxidized was taking 30s to do the initial config load. After adding the 'ip' variable to our CSV, load time dropped to less than 1 second.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -409,7 +409,7 @@ vars: ### Source: CSV -One line per device, colon seperated. +One line per device, colon seperated. If `ip` isn't present, a DNS lookup will be done against `name`. For large installations, setting `ip` will dramatically reduce startup time. ``` source: @@ -419,11 +419,12 @@ source: delimiter: !ruby/regexp /:/ map: name: 0 - model: 1 - username: 2 - password: 3 + ip: 1 + model: 2 + username: 3 + password: 4 vars_map: - enable: 4 + enable: 5 ``` ### SSH Proxy Command |