/rrd-template-example.xml

http://jmxtrans.googlecode.com/ · XML · 35 lines · 31 code · 0 blank · 4 comment · 0 complexity · a9e9272b4e1e97123167cf64a5a10616 MD5 · raw file

  1. <rrd_def>
  2. <path>${database}</path>
  3. <!-- not mandatory -->
  4. <start>1000123456</start>
  5. <!-- not mandatory -->
  6. <step>300</step>
  7. <!-- at least one datasource must be supplied -->
  8. <datasource>
  9. <name>input</name>
  10. <type>COUNTER</type>
  11. <heartbeat>300</heartbeat>
  12. <min>0</min>
  13. <max>U</max>
  14. </datasource>
  15. <datasource>
  16. <name>temperature</name>
  17. <type>GAUGE</type>
  18. <heartbeat>400</heartbeat>
  19. <min>U</min>
  20. <max>1000</max>
  21. </datasource>
  22. <!-- at least one archive must be supplied -->
  23. <archive>
  24. <cf>AVERAGE</cf>
  25. <xff>0.5</xff>
  26. <steps>1</steps>
  27. <rows>600</rows>
  28. </archive>
  29. <archive>
  30. <cf>MAX</cf>
  31. <xff>0.6</xff>
  32. <steps>6</steps>
  33. <rows>7000</rows>
  34. </archive>
  35. </rrd_def>