Memory Usage Alert

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Memory Usage Alert

Post by vignesha »

Hello Team,

We have upgraded nagios xi to latest version 5.5.5 post which check_nrpe nagios plugin updated to latest version 3.2.1 because of that we are facing issue in nagios for the exchange server memory usage, previeasuly memory usage alert will say only for committed memory, but right now we are getting alert for physical memory usage as well.

So as of now we don't need physical memory alerts in nagios also i have attached nsclient++ file for your reference.
Please help us out to over come from this issue.

[root@xxxxx]# ./check_nrpe --host xx.xxx.xxx.xxx --command check_memory
OK: committed = 29.455GB, physical = 27.6GB|'committed'=29.45488GB;57.57142;64.76784;0;71.96427 'committed %'=40%;79;89;0;100 'physical'=27.59968GB;38.37287;43.16947;0;47.96608 'physical %'=57%;79;89;0;100
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Memory Usage Alert

Post by lmiltchev »

If you didn't want to monitor the physical memory, you could specify the type to "committed" only. Also, you could use a warning and critical thresholds that make sense to you and your environment, in order to eliminate false alerts.

Example:

Code: Select all

[root@main-nagios-xi libexec]# ./check_nrpe -H x.x.x.x -c check_memory -a type=committed "warn=free < 2G" "crit=free < 1G"
OK: committed = 9.032GB|'committed'=22.88891GB;2;1;0;31.92112 'committed %'=72%;6;3;0;100
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Memory Usage Alert

Post by vignesha »

Hi Lmiltchev,

My bad, i have mentioned the flag wrongly so as per below command i have tryied and now we can able to see only the committed memory.

Before:
[root@xxxxxxx libexec]# /usr/local/nagios/libexec/check_nrpe -H x.x.x.x -p 5666 -c check_memory type=committed -a warn=used">"80% crit=used">"90%
CRITICAL: committed = 59.98GB, physical = 58.768GB|'committed'=59.98048GB;79.97141;89.96784;0;99.96427 'committed %'=60%;79;89;0;100 'physical'=58.76759GB;51.17287;57.56947;0;63.96608 'physical %'=91%;79;89;0;100

After:
[root@vwukm2sunix019_test libexec]# ./check_nrpe -H x.x.x.x -c check_memory -a type=committed warn=used">"80% crit=used">"90%
OK: committed = 30.218GB|'committed'=30.21777GB;57.57142;64.76784;0;71.96427 'committed %'=41%;79;89;0;100

Thanks for sorting out the problem, hence you can close the thread.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Memory Usage Alert

Post by lmiltchev »

I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked