-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18/11/09 02:25 AM, Richard Gliebe wrote:
> Hi all,
> 
> check_nt -v MEMUSE shows me the complete memory (physical memory + 
> page.sys) from the 64bit Windows Clients, which are using NSClient++ 
> 0.3.7.493 2009-10-12.
> 
> [...]
> # /usr/local/libexec/nagios/check_nt -p 5666 -v MEMUSE \
> -w 80 -c 90 -H <64bitClient>
> 
> Memory usage: total:7939.16 Mb - used: 4101.70 Mb (52%) - free: 3837.46 
> Mb (48%) | 'Memory usage'=4101.70Mb;6351.33;7145.25;0.00;7939.16
> [...]
> 
> 32bit Windows clients shows me _only_ the real memory (same NSClient 
> Version).
> 
> Is it possible to configure check_nt to show me also only the real 
> memory from the 64bit Windows clients?

I'm not sure about using check_nt; I beliebe the recommended bethog for
NSClient++ is using check_nrpe (you will have to make sure the NEPE
listener module is enabled and properly configured)

Here are example of memory checks you can do with check_nrpe:

Physical memory:
CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical

Page file:
CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=virtual

All memort (RAM+SWAP):
CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=paged


You can set them as aliases ($ARGx$ are nrpe arguments) or even call
CheckMem as the NRPE command and the rest of the line are the nrpe
arguments (-a).

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLA9Z36dZ+Kt5BchYRAj8CAJwLN3mP8TaRlKITx6BKcFwZJUCQzACgstfp
MUjwhDVooXxc2X2ogn+L9p4=
=0ild
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to