diff options
author | Reinier Schoof <reinier@skoef.nl> | 2015-10-01 20:40:20 +0200 |
---|---|---|
committer | Reinier Schoof <reinier@skoef.nl> | 2015-10-01 20:40:20 +0200 |
commit | de5aedcbd1cc26a31916bfe1950eca8fc3ae076d (patch) | |
tree | 263f5d0a1575f011842c1b14fd3658ebd36da526 /README.md | |
parent | 15a12ad0a3f4eb4f9627b827613fd77544d2ba0a (diff) | |
parent | de2b65627e4ba6151ef6bac9c6770b06e80909c7 (diff) |
Merge remote-tracking branch 'ytti/master'
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -353,6 +353,20 @@ nodiff/$FQDN--show_version nodiff/$FQDN--show_inventory ``` +### RESTful API and Web Interface + +The RESTful API and Web Interface is enabled by configuring the `rest:` parameter in the config file. This parameter can optionally contain a relative URI. + +``` +# Listen on http://127.0.0.1:8888/ +rest: 127.0.0.1:8888 +``` + +``` +# Listen on http://10.0.0.1:8000/oxidized/ +rest: 10.0.0.1:8000/oxidized +``` + ### Advanced Configuration Below is an advanced example configuration. You will be able to (optinally) override options per device. The router.db format used is ```hostname:model:username:password:enable_password```. Hostname and model will be the only required options, all others override the global configuration sections. |