<mbeans> [...] <mbean name="OpenEIS-Pool" objectname="com.c4u.eis.core:type=ConnectionPool"> <attrib name="CurrentConnectionCount" alias="oepcurrcncnt" type="gauge"/> <attrib name="ReservedCount" alias="oeprescnt" type="gauge"/> </mbean> [...] -------------------------------------------------------------------------------------------------------------------------------------------------
Ok, all looks good so far, directory is created, rrd is written. date of jrb-File is frequently updated, collectd.log says:
2008-05-02 17:06:19,157 INFO [CollectdScheduler-50 Pool-fiber37] RrdUtils: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/209/partner-dev/oepcurrcncnt.jrb with values '1209740779:2'
But in the resource graph page for node 209, service partner-dev is listed under SNMP Interface data with remark "(Not currently updated)". Same for xml-Export from jrb-file.
collectd-configuration.xml:
-------------------------------------------------------------------------------------------------------------------------------------------- [...]
<package name="jvm">
<filter>category != "Desktop" & IPADDR != '0.0.0.0'</filter>
<include-range begin="0.0.0.0" end="255.255.255.255"/>
<include-url>file:/opt/opennms/etc/includes/collection</include-url>
[...]
<service name="partner-dev" interval="300000" user-defined="false" status="on">
<parameter key="port" value="10057"/>
<parameter key="retry" value="2"/>
<parameter key="timeout" value="3000"/>
<parameter key="protocol" value="rmi"/>
<parameter key="urlPath" value="/jmxrmi"/>
<parameter key="ds-name" value="jmx"/>
<parameter key="friendly-name" value="partner-dev"/>
</service>
[...]
</package>
[...]
<collector service="partner-dev" class-name="org.opennms.netmgt.collectd.Jsr160Collector"/>
[...]
-------------------------------------------------------------------------------------------------------------------------------------------------
jmx-datacollection-config.xml:
(note the double entry jsr160 and default as workaround for )
-------------------------------------------------------------------------------------------------------------------------------------------------
<jmx-datacollection-config rrdRepository="/opt/opennms/share/rrd/snmp/">
<jmx-collection name="jsr160" maxVarsPerPdu="50">
<rrd step="300">
<rra>RRA:AVERAGE:0.5:1:2016</rra>
<rra>RRA:AVERAGE:0.5:12:1488</rra>
<rra>RRA:AVERAGE:0.5:288:366</rra>
<rra>RRA:MAX:0.5:288:366</rra>
<rra>RRA:MIN:0.5:288:366</rra>
</rrd>
<mbeans>
[...]
<mbean name="OpenEIS-Pool" objectname="com.c4u.eis.core:type=ConnectionPool">
<attrib name="CurrentConnectionCount" alias="oepcurrcncnt" type="gauge"/>
<attrib name="ReservedCount" alias="oeprescnt" type="gauge"/>
</mbean>
[...]
<jmx-collection name="default" maxVarsPerPdu="50">
<rrd step="300">
<rra>RRA:AVERAGE:0.5:1:2016</rra>
<rra>RRA:AVERAGE:0.5:12:1488</rra>
<rra>RRA:AVERAGE:0.5:288:366</rra>
<rra>RRA:MAX:0.5:288:366</rra>
<rra>RRA:MIN:0.5:288:366</rra>
</rrd>
<mbeans>
[...]
<mbean name="OpenEIS-Pool" objectname="com.c4u.eis.core:type=ConnectionPool">
<attrib name="CurrentConnectionCount" alias="oepcurrcncnt" type="gauge"/>
<attrib name="ReservedCount" alias="oeprescnt" type="gauge"/>
</mbean>
[...]
-------------------------------------------------------------------------------------------------------------------------------------------------
Ok, all looks good so far, directory is created, rrd is written.
date of jrb-File is frequently updated, collectd.log says:
2008-05-02 17:06:19,157 INFO [CollectdScheduler-50 Pool-fiber37] RrdUtils: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/209/partner-dev/oepcurrcncnt.jrb with values '1209740779:2'
But in the resource graph page for node 209, service partner-dev is listed under SNMP Interface data
with remark "(Not currently updated)". Same for xml-Export from jrb-file.