jcollectd
jcollectd copied to clipboard
jcd.properties property not honored by MBeanSender
The README says the you can add the jcd.* properties to a file specified by the property jcd.properties, but this actually doesn't work. The current implementation uses a static initializer in the Network class, but the properties loaded there are not referenced by the MBeanServer class.
Hi Adam, Thanks for the report. This should fix (untested), can you give this branch a try and I'll merge to master if its all good: http://github.com/hyperic/jcollectd/tree/ISSUE-1
I'll test it out. I'll probably refactor it a bit so that configuration is separate from the Network class (which is mainly just constants); it's a bit strange that that's where the global config is.