Hello,
I installed JMX 2.0 on Splunk 6.0, on my laptop (Windows 😎 to try Splunk.
I use java hotspot 1.6 jdk 64bit version.
I tried this config.xml :
<jmxpoller>
<jmxserver pid="7692" jvmDescription="bypid">
<mbean domain="java.lang" properties="type=Memory">
<attribute name="HeapMemoryUsage:used" outputname="heapUsed"/>
<attribute name="HeapMemoryUsage:max" outputname="heapMax"/>
</mbean>
</jmxserver>
</jmxpoller>
I enabled the Jmx data inputs.
I have no error in splunkd.log .
I can log in using jsoncole to the application with the pid 7692.
But unfortunately I don't have any data in the indexes. The search with index=jmx gives nothing.
What I'm doing wrong??
Other question : Can I put this app in the UniversalForwarder, and if yes, what I have to do to add it? Just put the apps in the directory SPLUNK_HOME/etc/apps/, and add config.xml to the monitor list?
EDIT : If I understood well, UF doesn't come with Python, so I'll install Python 2.7 via http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi . But then what to do next? I'll try add jmx.py to the monitor list.
Thank you for your help !
... View more