Incorrect memory reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sdecker
Posts: 6
Joined: Thu Jul 30, 2015 1:46 pm

Incorrect memory reporting

Post by sdecker »

Why does Nagios report memory of 26639.72 when only 163840 is assigned to a VM of the 163840, 4096 is reserved
bolson

Re: Incorrect memory reporting

Post by bolson »

Hello sdecker, can you please provide us with more information? Which plugin are you're using to report memory usage?
sdecker
Posts: 6
Joined: Thu Jul 30, 2015 1:46 pm

Re: Incorrect memory reporting

Post by sdecker »

check_xi_service_nsclient!XXXXXXXX!MEMUSE!-w 70 -c 90!!!!!
bolson

Re: Incorrect memory reporting

Post by bolson »

Can you post the complete output of this check command?
sdecker
Posts: 6
Joined: Thu Jul 30, 2015 1:46 pm

Re: Incorrect memory reporting

Post by sdecker »

Agilence memory.JPG
Ok
Memory usage: total:26639.72 MB - used: 5111.17 MB (19%) - free: 21528.54 MB (81%)
You do not have the required permissions to view the files attached to this post.
bolson

Re: Incorrect memory reporting

Post by bolson »

check_nt 's MEMUSE includes the page file. Check to confirm this.

If you use checkMem via NRPE you can choose only physical
sdecker
Posts: 6
Joined: Thu Jul 30, 2015 1:46 pm

Re: Incorrect memory reporting

Post by sdecker »

I have never used NRPE is there a guide
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Incorrect memory reporting

Post by mcapra »

Step 1 is setting up NSClient++ to listen to check_nrpe connections. The official documentation is pretty good for that:
https://docs.nsclient.org/howto/nrpe/

@box293 has some very useful examples of leveraging check_nrpe with NSClient++ listed on his website:
http://sites.box293.com/nagios/guides/common-checks

The top example on this page shows a check against a machine using NSClient++ that only looks at the physical usage:
http://sites.box293.com/nagios/guides/c ... mory-usage
Former Nagios employee
https://www.mcapra.com/
bolson

Re: Incorrect memory reporting

Post by bolson »

Thanks for your insights Matt!
Locked