Hi collectd users,
I work with collectd on Debian Jessie for monitoring.
I have a problem with Java / JMX plugin.
As soon as I activate this plugin, I have an error in logs :
"cf_get_default_interval: Unable to parse string "300.000000" as
number."
Where 300 is the Interval in collectd.conf.
If I suppress Interval, all work fine.
I tried with collectd v5.4.1 and v5.5.1 Debian packages. So I tried with
collectd v5.5.1 source package and compile it : same problem.
I attach my config file.
This is the logs :
[2016-05-18 14:23:21] perl: Initializing Perl interpreter...
[2016-05-18 14:23:23] perl: Initializing Perl interpreter...
[2016-05-18 14:23:23] perl: Initializing Perl interpreter...
[2016-05-18 14:23:23] Initialization complete, entering read-loop.
[2016-05-18 14:23:23] cf_get_default_interval: Unable to parse string
"300.000000" as number.
Thanks for help.
FQDNLookup false
Interval 300
LoadPlugin logfile
<Plugin logfile>
LogLevel "info"
File "/var/log/collectd.log"
Timestamp true
</Plugin>
LoadPlugin java
LoadPlugin ping
LoadPlugin perl
<Plugin java>
JVMArg "-verbose:jni"
JVMArg
"-Djava.class.path=/usr/share/collectd/java/collectd-api.jar:/usr/share/collectd/java/generic-jmx.jar"
LoadPlugin "org.collectd.java.GenericJMX"
<Plugin "GenericJMX">
# Memory usage by memory pool.
<MBean "memory_pool">
ObjectName "java.lang:type=MemoryPool,*"
InstancePrefix "memory_pool-"
InstanceFrom "name"
<Value>
Type "memory"
#InstancePrefix ""
#InstanceFrom ""
Table true
Attribute "Usage"
</Value>
</MBean>
<Connection>
Host "localhost"
ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:9010/jmxrmi"
Collect "memory_pool"
</Connection>
</Plugin>
</Plugin>
<Plugin ping>
Host 8.8.8.8
</Plugin>
<Plugin perl>
IncludeDir "/usr/share/"
BaseName "collectd::plugins"
LoadPlugin "WriteFile"
</Plugin>
_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd