All Apps and Add-ons

Deploying "Monitoring of Java Virtual Machines with JMX"

saas_sirsidynix
Explorer

I've nearly managed to setup the deployment of the JMX app to my Universal Forwarders. But have one last issue:

Splunk - 6.03
Universal Forwarder - 6.03

After deployment, the "boot" directory isn't being created on the Universal Forwarder (/...../etc/apps/monitoring-jmx/bin/lib/boot/). Checking my deployment config on the splunk server this is an empty directory.

If I create an empty file in the "boot" directory on the deployment server, then the "boot" directory is created on the Universal Forwarder but the jmx.py script doesn't run.

If I manually create an empty "boot" directory on the Universal Forwarder then everything works fine.

Is there a way to get this directory created during deployment?

Thanks

saas_sirsidynix
Explorer

After a bit of experimentation, I found that creating a directory and a file within that directory resolve the issue. For example:

/...../etc/apps/monitoring-jmx/bin/lib/boot/temp/temp

Just creating a file within bin/lib/boot meant that the boot directory was deployed, but the jmx.py script failed with an error.

jspears
Communicator

Having the same issue with the same app, but it appears that the modular input fails to run if there is any file (even a dotfile) in the boot directory. So...

1) Why do deployment server / deployment client fail to deliver an empty directory?

2) Why does SPLUNK4JMX fail to work with a seemingly innocuous file in bin/lib/boot/ ?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...