Monitor actual RAM usage on Windows machines

Randal, Phil prandal at herefordshire.gov.uk
Fri Feb 4 15:16:39 CET 2005


Oops, try:

$=SetOption("ASCII","ON")
$=SetOption("WrapAtEOL","ON")

$phys=MemorySize(0)
$phys+"MB RAM"+ at CRLF

----
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Randal, Phil
> Sent: 04 February 2005 14:11
> To: Bergström Sebastian; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Monitor actual RAM usage on 
> Windows machines
> 
> You might want to look at nrpe_nt (http://www.miwi-dv.com/nrpent/).
> 
> I use it to run a KiXtart script (http://www.kixtart.org) to 
> return the physical memory (and other stuff).
> 
> You can of course do the same thing with VBScript too.
> 
> You'll need to read the docs on nrpe.
> 
> In nrpe.cfg I do
> 
> command[check_cpu]=<path to kixtart>\kix32.exe c:\nrpe_nt\cpu.kix
> 
> ---- cpu.kix  (cut down just to report physical memory) ----
> $=SetOption("ASCII","ON")
> $=SetOption("WrapAtEOL","ON")
> 
> $phys=MemorySize(0)
> $phys"+"MB RAM at CRLF
> -------------------------
> 
> Cheers,
> 
> Phil
> ----
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK  
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net
> > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of 
> > Bergström Sebastian
> > Sent: 04 February 2005 11:42
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Monitor actual RAM usage on Windows machines
> > 
> > We monitor our Windows servers using NSClient. NSClient 
> cannot attain 
> > the RAM usage only, but only the logical memory as a total.
> > Does anyone know any plugin that can achieve this? Are 
> there anyway to 
> > make NSClient do this, for example with a counter switch?
> > 
> > Thanks in advance!
> > 
> > 
> > Best regards,
> > Sebastian Bergstroem
> > 
> > ----------------------------------------------
> > Sebastian Bergstroem
> > Technical coordinator
> > Kunskapsskolan i Sverige AB
> > sebastian.bergstroem at kunskapsskolan.se
> > -----------------------------------------------
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> > Reporting Tool for open source databases. Create 
> drag-&-drop reports. 
> > Save time by over 75%! Publish reports on the web.
> > Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at 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
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> Reporting Tool for open source databases. Create drag-&-drop 
> reports. Save time by over 75%! Publish reports on the web. 
> Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list