JMX check_jmx thresholds in percent is possible?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

JMX check_jmx thresholds in percent is possible?

Post 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!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: JMX check_jmx thresholds in percent is possible?

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Re: JMX check_jmx thresholds in percent is possible?

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: JMX check_jmx thresholds in percent is possible?

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked