summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c4c547)
raw | patch | inline | side by side (parent: 1c4c547)
author | Florian Forster <octo@huhu.verplant.org> | |
Sun, 29 Nov 2009 15:14:05 +0000 (16:14 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 29 Nov 2009 15:14:05 +0000 (16:14 +0100) |
README | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history |
index d40fd2f0ab596a42b4aaa5f735d7fc1c0ff4e43c..47499f1ff07998703c78093f89324664842ad2a5 100644 (file)
--- a/README
+++ b/README
The PostgreSQL C client library used by the `postgresql' plugin.
<http://www.postgresql.org/>
+ * librouteros (optional)
+ Used by the `routeros' plugin to connect to a device running `RouterOS'.
+ <http://verplant.org/librouteros/>
+
* librrd (optional)
Used by the `rrdtool' and `rrdcached' plugins. The latter requires RRDtool
client support which was added after version 1.3 of RRDtool. Versions 1.0,
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 6bae33936e3eac1b0cbe6980e019bf1e55db1d45..6609e692e04a8cf1e2822ba5a9bcba57e72d34b0 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=back
+=head2 Plugin C<routeros>
+
+The C<routeros> plugin connects to a device running I<RouterOS>, the
+Linux-based operating system for routers by I<MikroTik>. The plugin uses
+I<librouteros> to connect and reads information about the interfaces and
+wireless connections of the device. The configuration supports querying
+multiple routers:
+
+ <Plugin "routeros">
+ <Router>
+ Host "router0.example.com"
+ User "collectd"
+ Password "secr3t"
+ </Router>
+ <Router>
+ Host "router1.example.com"
+ User "collectd"
+ Password "5ecret"
+ </Router>
+ </Plugin>
+
+As you can see above, the configuration of the I<routeros> plugin consists of
+one or more B<E<lt>RouterE<gt>> blocks. Within each block, the following
+options are understood:
+
+=over 4
+
+=item B<Host> I<Host>
+
+Hostname or IP-address of the router to connect to.
+
+=item B<Port> I<Port>
+
+Port name or port number used when connecting. If left unspecified, the default
+will be chosen by I<librouteros>, currently "8728". This option expects a
+string argument, even when a numeric port number is given.
+
+=item B<User> I<User>
+
+Use the user name I<User> to authenticate. Defaults to "admin".
+
+=item B<Password> I<Password>
+
+Set the password used to authenticate.
+
+=back
+
=head2 Plugin C<rrdcached>
The C<rrdcached> plugin uses the RRDtool accelerator daemon, L<rrdcached(1)>,