/opennms-base-assembly/src/main/filtered/etc/examples/jvm-datacollection/jmx-datacollection-config.xml

https://github.com/ajakubo1/opennms · XML · 56 lines · 46 code · 0 blank · 10 comment · 0 complexity · 6b306a41e38c1b2a549e517d0b402bde MD5 · raw file

  1. <?xml version="1.0"?>
  2. <jmx-datacollection-config rrdRepository="/opt/opennms/share/rrd/snmp/">
  3. <jmx-collection name="ActiveMQ">
  4. <rrd step="300">
  5. <rra>RRA:AVERAGE:0.5:1:2016</rra>
  6. <rra>RRA:AVERAGE:0.5:12:1488</rra>
  7. <rra>RRA:AVERAGE:0.5:288:366</rra>
  8. <rra>RRA:MAX:0.5:288:366</rra>
  9. <rra>RRA:MIN:0.5:288:366</rra>
  10. </rrd>
  11. <import-mbeans>jmx-datacollection/Jvm/1.6/JvmBasic0.xml</import-mbeans>
  12. <import-mbeans>jmx-datacollection/ActiveMQ/5.6/ActiveMQBasic0.xml</import-mbeans>
  13. </jmx-collection>
  14. <jmx-collection name="Cassandra">
  15. <rrd step="300">
  16. <rra>RRA:AVERAGE:0.5:1:2016</rra>
  17. <rra>RRA:AVERAGE:0.5:12:1488</rra>
  18. <rra>RRA:AVERAGE:0.5:288:366</rra>
  19. <rra>RRA:MAX:0.5:288:366</rra>
  20. <rra>RRA:MIN:0.5:288:366</rra>
  21. </rrd>
  22. <import-mbeans>jmx-datacollection/Cassandra/1.1.2/CassandraBasic0.xml</import-mbeans>
  23. <import-mbeans>jmx-datacollection/Jvm/1.6/JvmBasic0.xml</import-mbeans>
  24. </jmx-collection>
  25. <!-- renamed from jsr160 -->
  26. <jmx-collection name="OpenNMS-JVM">
  27. <rrd step="300">
  28. <rra>RRA:AVERAGE:0.5:1:2016</rra>
  29. <rra>RRA:AVERAGE:0.5:12:1488</rra>
  30. <rra>RRA:AVERAGE:0.5:288:366</rra>
  31. <rra>RRA:MAX:0.5:288:366</rra>
  32. <rra>RRA:MIN:0.5:288:366</rra>
  33. </rrd>
  34. <import-mbeans>jmx-datacollection/Jvm/1.6/JvmBasic0.xml</import-mbeans>
  35. <import-mbeans>jmx-datacollection/OpenNMS/1.10/OpenNMSBasic0.xml</import-mbeans>
  36. <!--
  37. This imports provide the legacy configurateion for jsr160 collection.
  38. Beans provided by OpenNMS are included in OpenNMSLegacy.
  39. Beans provided by the underlaying Jvm are included in JvmLegacy.xml.
  40. Use this imports instead of the JvmBasic0.xml and OpenNMSBaisc0.xml just
  41. if you need to stay at legacy datastructure. So you can keep your existing data.
  42. -->
  43. <!--import-mbeans>jmx-datacollection/Jvm/1.6/JvmLegacy.xml</import-mbeans-->
  44. <!--import-mbeans>jmx-datacollection/OpenNMS/1.10/OpenNMSLegacy.xml</import-mbeans-->
  45. </jmx-collection>
  46. <jmx-collection name="jboss">
  47. <rrd step="300">
  48. <rra>RRA:AVERAGE:0.5:1:2016</rra>
  49. <rra>RRA:AVERAGE:0.5:12:1488</rra>
  50. <rra>RRA:AVERAGE:0.5:288:366</rra>
  51. <rra>RRA:MAX:0.5:288:366</rra>
  52. <rra>RRA:MIN:0.5:288:366</rra>
  53. </rrd>
  54. <import-mbeans>jmx-datacollection/JBoss/4/JBossBasic0.xml</import-mbeans>
  55. </jmx-collection>
  56. </jmx-datacollection-config>