updates
[torrus-plus.git] / plugins / rawexport / rawexport-example.xml
blobc2b0de437e8cc07a6a6d2fa8c21f3b5b3b2e3849
1 <?xml version="1.0"?>
2 <!--
3   Example configuration for Torrus raw Export plugin
5   $Id$
7 -->
9 <configuration>
11 <param-properties>
12   <!-- Parameters which need to be expanded accorrding
13        to $defs and %paramrefs% -->
15   <prop param="raw-file"       prop="expand" value="1"/>
16   <prop param="raw-rowid"      prop="expand" value="1"/>
18 </param-properties>
20 <datasources>
22   <!-- Example template that should work with IF-MIB input and output
23        octet counters -->
25   <template name="raw-defaults-ifoctets-examle">
27     <param name="raw-datadir" value="/srv/torrus/raw" />
28     <param name="raw-file"
29            value="#Y-#m-#d.%collector-instance%.%raw-file-suffix%" />
30     <param name="raw-field-separator" value="," />
31     <param name="raw-timestamp-format" value="#d#b#Y:#H:#M:#S" />
32     <param name="raw-rowid" value="%system-id%,%interface-name%,%rrd-ds%" />
34   </template>
36 </datasources>
38 </configuration>