I have been working with check_jmx4perl and it doesn't do one thing the customer has requested. So based off the requirements, I am writing a script that uses jmx4perl and output it to Nagios. Right now it records the information in GB/MB. How do I change and alter the axis?
Code: Select all
print "OK - [java.lang:type=OperatingSystem,ProcessCpuTime] : Value $output in range | [java.lang:type#OperatingSystem,ProcessCpuTime]=$output;;";
Above is my hacked up code so at least we are getting data, though I have again modified the scrip to give percentage, so I would like to know how do I make it recognize the value as a percentage and what information can I change? Is there any documentation on this?
Kind Regards,
Doron