Easily generate jmxtrans configuration files.
The way jmxtrans configuration file is structured forces you to repeat configurations in multiple places.
jmxtrans-generator decouples the three main properties of the configuration file and allow the reuse of such.
node generator.js [servers-file] [writers-file] [queries-file] [output]
- input - the input file
- output - the file where to save the generated jmxtrans configuration
The input file must be a JSON file with exact three attributes
{
"servers": [],
"outputWriters": [],
"queries": []
}
See jmxtrans queries documentation for an explanation of each property.
You can see the example-configuration for further details.