Page 1 of 1

NagiosXI alerts only on continuously metric above threshold

Posted: Wed Jun 05, 2019 12:14 pm
by imadc
Hello Team

On our NagiosXI that is monitoring our windows servers-

We would like to get alerts if CPU or Memory stays above X percentage for at least 15 minutes for example. now we are getting alerts on spikes that violates the Warning or critical thresholds. So is there an options to place that if memory is continuously above 90% for X number of minutes then alert us?

check_ncpa.py
-t 'XX' -P 5693 -M memory/virtual -u G -w 80 -c 90

check_ncpa.py
-t 'XX' -P 5693 -M cpu/percent -w 80 -c 95 -q 'aggregate=avg'

Thanks
Insurity

Re: NagiosXI alerts only on continuously metric above thresh

Posted: Wed Jun 05, 2019 1:40 pm
by lmiltchev
Unfortunately, this functionality is not available in NCPA at the moment. It's been requested in the past - see this:

https://github.com/NagiosEnterprises/ncpa/issues/180

It should be implemented in NCPA 3.

Re: NagiosXI alerts only on continuously metric above thresh

Posted: Wed Jun 05, 2019 1:52 pm
by imadc
Thanks We will wait for it then

Do you have a date on when NCPA 3 will be out for us?

Re: NagiosXI alerts only on continuously metric above thresh

Posted: Wed Jun 05, 2019 3:24 pm
by lmiltchev
I don't have an ETA on NCPA 3. Our developers think it's possible that NPCA 3 could be out by the end of the year, but this would depend on many factors, so nothing is "set in stone".