How Do I Find The Main Memory Usage?

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
antoaravinth
Posts: 2
Joined: Wed Aug 01, 2012 6:34 am

How Do I Find The Main Memory Usage?

Post by antoaravinth »

Hi all, I'm very new to Nagios.

I need a way to monitor my systems Main memory usage. How Can i do that?

Say for example I need to get notified if :

My main memory > 80% for 15 minutes

Thanks in advance.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How Do I Find The Main Memory Usage?

Post by slansing »

What type of Host do you intend to monitor, Linux, AIX, Windows...etc?

For instance for a Windows server you could install the NSClient++ agent on the Host side, then configure Nagios Core to run a check to it.

If you were to search "memory" in this document the second search will show you an example of how the Nagios side would be configured:

http://nagios.sourceforge.net/docs/nagioscore-3-en.pdf
antoaravinth
Posts: 2
Joined: Wed Aug 01, 2012 6:34 am

Re: How Do I Find The Main Memory Usage?

Post by antoaravinth »

Thanks for the reply.

But how do I specify the timing constraint? In my case I need to do :

Code: Select all

My main memory > 80% for 15 minutes
Where do I specify the "15" minutes timing constraints?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: How Do I Find The Main Memory Usage?

Post by nscott »

What type of Host do you intend to monitor, Linux, AIX, Windows...etc?

Monitoring different types of hosts will require different steps to get main memory.
Nicholas Scott
Former Nagios employee
Locked