JMX puppetserver metrics vagrant stack

Day 15 in the #vDM30in30 As I discussed previously, I have been working on getting a Vagrant stack to demonstrate how JMX metrics from puppetserver look. And I succeeded! (kind of…) How it works The main bit is here: puppet_enterprise::profile::master::java_args: Xmx: '2048m' Xms: '2048m' 'Dcom.sun.management.jmxremote.port': '=1099' 'Dcom.sun.management.jmxremote.authenticate': '=false' 'Dcom.sun.management.jmxremote.ssl': '=false' This is hiera config, that sets Puppet Enterprise’s specific Puppet code to configure puppetserver JAVA_ARGS, which will start the JMX service on 1099. From there, we can configure a generic profile to setup jmxtrans on the Puppet master machine: ...

November 15, 2016 · 2 min · Peter Souter

jmxtrans: What is it and how to configure it

Day 12 in the #vDM30in30 I’ve been investigating getting metrics from the Java parts of Puppet. Puppetserver actually has a dedicated endpoint now, but if you’re on an earlier version you can actually extract the information straight from JMX. I’ve been working on a Vagrant stack to demonstrate this, but I’ve not got it fully working yet, but I’ve made some good progress. I think there’re just a few tweaks left. ...

November 12, 2016 · 4 min · Peter Souter