Enable SSL for check jmx

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Enable SSL for check jmx

Post by sacom01 »

hi,
i was able to monitor jvm using jmx with authenticate= true :
Djavax.management.builder.initial= -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=ho_as_06 -Dcom.sun.management.jmxremote.port=9002 -Dcom.sun.management.jmxremote.rmi.port=9003

now I want to use SSL authen instead authenticate. How to setup SSL for this?
thank you
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Enable SSL for check jmx

Post by gsmith »

Hi

This looks like a decent tutorial for doing what you want:
https://www.cleantutorials.com/jconsole ... entication

Where it talks about jconsole - that would be your Nagios server. Go ahead and give it a try. If
it is giving you trouble let me know and I'll run through it on a couple of my test machines.
I won't be able to set things up until tomorrow and I didn't want to hold you up, so let me know
where you are at with this and I will proceed from there in the morning.

Thanks
Locked