Building the jmx4perl plugin
We use the Perl CPAN (Comprehensive Perl Archive Network) shell here to download missing dependencies.
Before you begin
Procedure
What to do next
When all these steps finished successfully, the jmx4perl plugin should be installed onto Nagios.
Check everything has been correctly installed by communicating with a Talend Runtime Container (this already has an active Jolokia agent) (please replace <jolokia_host> with the host where the Talend Runtime Container is running):
$ check_jmx4perl -u http://<jolokia_host>:8040/jolokia --alias MEMORY_HEAP_USED --base MEMORY_HEAP_MAX --warning 80 --critical 90
If you have problems getting this running, try disabling the firewall on the Jolokia (Talend Runtime Container) host.