Page 1 of 1

Any plugin other than NRPE to monitor the physical memory?

Posted: Fri Jul 27, 2018 7:03 am
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

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

Posted: Fri Jul 27, 2018 9:25 am
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.

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

Posted: Fri Jul 27, 2018 11:35 am
by scottwilkerson
To give an examples if you do enable NRPE on nsclient, see this post:

https://support.nagios.com/forum/viewto ... 61#p139805

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

Posted: Mon Jul 30, 2018 10:21 am
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

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

Posted: Mon Jul 30, 2018 10:55 am
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