Pagefile and Physical RAM Separation - Usage and Actual

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MDSG
Posts: 2
Joined: Mon Jun 27, 2011 1:48 pm

Pagefile and Physical RAM Separation - Usage and Actual

Post by MDSG »

Hello Everyone,

We have Nagios XI implemented and use the NSClient++ on the server client.

Currently, Nagios is setup to monitor the host memory as follows:

$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$
$ARG2$: MEMUSE
$ARG3$: -w 90 -c 95

With this, it looks at the entire memory blob as one entity adding the pagefile on top of actual physical RAM and then reporting them as once. Some of out application owners are not too fond of that. I've looked at the commands in the Nagios system, but none of them is pertaining to the pagefile.

Here's what I want to do.

-Have Nagios report the pagefile and memory displayed separately.

I can add a new command, but what will be the command line that will go with that?
Will the new command be a check or a misc command?
MDSG
Posts: 2
Joined: Mon Jun 27, 2011 1:48 pm

Re: Pagefile and Physical RAM Separation - Usage and Actual

Post by MDSG »

Anyone?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Pagefile and Physical RAM Separation - Usage and Actual

Post by mguthrie »

This is actually built into the WMI wizard if that's an option for your monitoring environment.

http://assets.nagios.com/downloads/nagi ... ws.php#wmi
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Pagefile and Physical RAM Separation - Usage and Actual

Post by Box293 »

This does physical memory

check_nrpe -H <HostAddress> -t 30 -c CheckMem -a MaxCrit=100% ShowAll type=physical
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Pagefile and Physical RAM Separation - Usage and Actual

Post by mguthrie »

Ah, that would be easier. Thank you sir! ;)
Locked