Any plugin other than NRPE to monitor the physical memory?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Any plugin other than NRPE to monitor the physical memory?

Post by rohithroki »

Hello All,

We need the plugin to monitor the physical memory of the server.

Do we have any plugin than NRPE to monitor the physical memory remotely?

I have checked check_nt plugin , but it's showing everything including swap and virtual memory.

./check_nt -H <IP Address> -p 12489 -v MEMUSE
Memory usage: total:16291.39 MB - used: 10662.15 MB (65%) - free: 5629.25 MB (35%) | 'Memory usage'=10662.15MB;0.00;0.00;0.00;16291.39

Is there any way to filter the output to physical memory usage?

Thanks
simbu
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Any plugin other than NRPE to monitor the physical memor

Post by mcapra »

You could enable the NRPEServer in your NSClient++ configuration. Then NSClient++ can service requests on modules such as CheckSystem, which can be filtered down to provide only metrics about the physical memory by leveraging the type argument of the check_memory module.

This documentation covers how to do all that within Nagios XI, but it is just as relevant for Nagios Core:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Here's some official Nagios Core specific documentation for such a setup in which the "NSClient++ via check_nrpe" section contains your exact solution for checking only the physical memory on a machine:
https://support.nagios.com/kb/article.php?id=774



NCPA is another option though it doesn't fit your exact use case. Here's official documentation for monitoring Windows hosts with Nagios Core and NCPA:
https://assets.nagios.com/downloads/nag ... ndows.html

Unfortunately, the closest your can get for your specific use-case is the memory/virtual metric. Not perfect, but it at least excludes swap.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Any plugin other than NRPE to monitor the physical memor

Post by scottwilkerson »

To give an examples if you do enable NRPE on nsclient, see this post:

https://support.nagios.com/forum/viewto ... 61#p139805
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Any plugin other than NRPE to monitor the physical memor

Post by rohithroki »

Hi Mcapra & Scott,

Thanks for the reply.

we know the NRPE can monitor the physical memory of the server and we are monitoring the servers via nrpe.

The requirement is any plugin like (check_nt) and other third party plugin other than NRPE to monitor the physical memory on the server.

please do the needful.

Thanks,
Simbu
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Any plugin other than NRPE to monitor the physical memor

Post by scottwilkerson »

As was mentioned before NCPA can do this as well
https://www.nagios.org/ncpa/

Also, via SNMP
https://exchange.nagios.org/directory/P ... ry/details
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked