mem check reporting not exactly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

mem check reporting not exactly

Post by scharft »

hi,

we have 2 very importand vm's with very early memory alerts configured => MEMUSE -w 60 -c 70
The situation is, that actually on both vm's 65% of memory consumed but we received no alert.
Regarding: https://support.nagios.com/forum/viewto ... 16&t=54910
Plese calculate the value we should use for warning and critical:

Get-WmiObject -Class Win32_ComputerSystem TotalPhysicalMemory
__GENUS : 2
__CLASS : Win32_ComputerSystem
__SUPERCLASS :
__DYNASTY :
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
TotalPhysicalMemory : 25769332736
PSComputerName :


thanks in advanced

best regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: mem check reporting not exactly

Post by lmiltchev »

Let's clarify the actual issue that you are having. Are you saying that your check doesn't return the correct value for memory use or you are simple not being notified about the problem?

Can you show us the actual command that you are using, run from the command line, along with the output of it?

Do you see a notification about the issue in the Notifications report?

Reports > Available Reports > Notifications
Be sure to check out our Knowledgebase for helpful articles and solutions!
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: mem check reporting not exactly

Post by scharft »

in may case, both:

Nagios doesn't show the exact value of the available and consumed memory and we don't get a notification for warning (60%) or critical (70%).

[nagios@atvinag003 ~]$ /usr/local/nagios/libexec/check_nt -H atvi31afs926 -p 1248 -s xxxxx -v MEMUSE -w 60 -c 70
Memory usage: total:97152.38 MB - used: 17416.42 MB (18%) - free: 79735.97 MB (82%) | 'Memory usage'=17416.42MB;58291.43;68006.67;0.00;97152.38
(btw: the memory has been increased to 48000mb)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: mem check reporting not exactly

Post by lmiltchev »

I would recommend that you try using check_nrpe instead of check_nt. For more information on the topic, please review the KB article below:

https://support.nagios.com/kb/article.php?id=169
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked