Page 1 of 1
JMX check_jmx thresholds in percent is possible?
Posted: Mon Jun 08, 2015 9:56 am
by agustin.roca
Guys, trying to make Heap usage with jmx i find that the plugin uses numbers for thresholds which isnot cool as i have quite a few services and i dont want to have one service per server. I wanted to use percent. Is this possible or do you know a plugon that can do this?
Thanks!
Re: JMX check_jmx thresholds in percent is possible?
Posted: Mon Jun 08, 2015 2:14 pm
by tgriep
I looked at the manual for check_jmx and it only uses an integer for the thresholds.
You could use the following link to search for another plugin do do what you need.
https://exchange.nagios.org/index.php?o ... chword=jmx
Re: JMX check_jmx thresholds in percent is possible?
Posted: Mon Jun 08, 2015 4:39 pm
by agustin.roca
Thought so. I looked and tested and no luck. Will look at your link.
Nobody uses percentage on jmx checks? Any hint appreciated.
Cheers
Re: JMX check_jmx thresholds in percent is possible?
Posted: Mon Jun 08, 2015 7:29 pm
by Box293
Sounds like you'll need to create a wrapper script that will run JMX and then based on the received values create the percentages and add them to the performance data string. OR work with the developer of the plugin to implement percentages.