Allow the specification of a reference source
Poll JMX attributes from Java based applications with Nagios
Brought to you by:
gropi
Currently it is not possible to calculate value as the difference of two attributes. The attached patch resolves this.
Assuming you have an attribute 'totalFoo' which is the sum of 'greenFoo' and 'redFoo'. Also, there is only an attribute for 'greenFoo'. To monitor 'redFoo' you can now specify -atotalFoo -rgreenFoo.
Please note that, when upgrading your installations, that this patch changes the wireformat a bit, thus make sure that both collector and plugin have the same version.
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
I thought about this a bit, probably the wireformat will change for 2.0 and we could incorporate that feature as well.