I have the ZenJMX zenpack up and running and went through the basic tutorial in 
the administrator's guide: no problem harvesting HeapMemory attributes.  
However, I then tried to collect a different attribute, one that is a float.  
The rrd file was never created in perf/device/ so I checked the zenjmx.log file 
and found the following (not the WARN message):


Code:
[2007-12-12 14:23:59,899] [INFO ] [pool-2-thread-2] 
com.zenoss.zenpacks.zenjmx.Processor:95 - (504580027): result: Summary:
        deviceId: MYDEVICE
        objectName: MYOBJECT,reapable=true
        callSummary: single-value attribute: CpuTotalUtil
        runtime: 3384
        callId: 504580027
        cancelled: false
        results: {CpuTotalUtil=15.232374950768019}

[2007-12-12 14:23:59,903] [WARN ] [pool-2-thread-2] 
com.zenoss.zenpacks.zenjmx.Processor:162 - (504580027): data value 
'15.232374950768019' cannot be coerced to an integer.  device: 
nbp-ws000258.proteus-technologies.com; key: CpuTotalUtil




>From this same object I am able to collect other attributes as long as they 
>are integers:


Code:
[2007-12-12 14:09:42,988] [INFO ] [pool-2-thread-17] 
com.zenoss.zenpacks.zenjmx.Processor:95 - (-1711603330): result: Summary:
        deviceId: MYDEVICE
        objectName: MYOBJECT,reapable=true
        callSummary: single-value attribute: NumCpu
        runtime: 44
        callId: -1711603330
        cancelled: false
        results: {NumCpu=2}



So my question is, can the JMX zenpack not collect attributes that are floats? 
Or do I have to set something up differently for them?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14276#14276

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to