nagios check data augmentation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

nagios check data augmentation

Post by Olin »

Hi there,
I have a requirement: use JMX protocols to check the data augmentation.
For example :
the first:
I check the failureCount of something , it was 100.
the second :
I check the failureCount of something , it was 200.
when 200-100 = 100 , the increment is 100.
I set threshold for increment to be 50, so 100 > 50 , it should be alerting.
how to configure in nagiosxi to implement this functionality?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: nagios check data augmentation

Post by mcapra »

Here's the official documentation for monitoring JMX with Nagios XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

As far as checking deltas over time, that sort of functionality would need to come from the plugin itself. Though I do know Nagios XI is getting an overhaul for it's performance data handling; Perhaps this comes with some new set of time-series based monitoring plugins? That would solve your problem if it is indeed future functionality.

In other words, in the case of the check_jmx plugin mentioned in the above documentation, it is unable to look at results in a time-series fashion. It would need to be modified to support that sort of functionality.

Here's a post I made a few days ago regarding "white-box" versus "black-box" monitoring strategies:
https://support.nagios.com/forum/viewto ... 16#p247216
Former Nagios employee
https://www.mcapra.com/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: nagios check data augmentation

Post by cdienger »

As @mcapra pointed out, we're not quite there with a time-series aware plugin and the jmx check would need to be modified. This isn't something we're able to do in support but the option is always available to you if you're so inclined. Below are some links to help with creating custom plugins if this is a route you'd like to explore:

https://exchange.nagios.org/directory/T ... pt/details
https://assets.nagios.com/downloads/nag ... inapi.html
https://assets.nagios.com/downloads/nag ... inapi.html
http://nagios-plugins.org/doc/guidelines.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

Re: nagios check data augmentation

Post by Olin »

thanks you , i will write shell to get the perfdata xml file and jmx values to comparison.
Locked