Re: [Nagios-users] FW: RE [spam?] memory on windows

2009-05-20 Thread James Pratt
Ok, I got it:

Try this:

First, determine what is visible via snmp for storage on windows system:

$ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w 80% -c 90% -v
V1 login : public
OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:  Serial Number e0153914
OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:  Serial Number e8a58f58
OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\
OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory
OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory
Found : 0 match : 0 OID queries
ERROR : Unknown storage zzz

Next, choose your victim:
 
$ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m Physical Memory -w 80% -c 
90%
OK : Physical Memory: 8%used(695MB/8190MB)  :  80 %  | 'Physical 
Memory'=695MB;6551;7370;0;8189

Hth, regards,
james

-Original Message-
From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: Wednesday, May 20, 2009 8:45 AM
To: Melanie Pfefer
Cc: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] FW: RE [spam?] memory on windows

Sorry - I see what you are doing now. 

Try a -q instead of -m, and change it to Ram and let us know how that works - 
You can also snmpwalk the host to see if the RamDisk entry (Index entries use 
the -m) shows up in the output anywhere. (Chances are, it does not, which would 
explain the ERROR)

Thanks,
James

-Original Message-
From: James Pratt 
Sent: Wednesday, May 20, 2009 8:40 AM
To: 'Melanie Pfefer'
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows

Hmm.. is RamDisk a mount point on a *nix machine, or  ?

-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Wednesday, May 20, 2009 8:38 AM
To: James Pratt
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows


Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing option that
 enables
  
  
  unlimited royalty-free distribution of the report
 engine 
  
  for externally facing server and web deployment. 
  
  http://p.sf.net/sfu/businessobjects
  
  ___
  
  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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 
 unlimited royalty-free distribution of the report engine 
 for externally facing server and web deployment. 
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https

Re: [Nagios-users] FW: RE [spam?] memory on windows

2009-05-20 Thread Melanie Pfefer

thank you!

--- On Wed, 20/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] FW:  RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Wednesday, 20 May, 2009, 4:03 PM
 Ok, I got it:
 
 Try this:
 
 First, determine what is visible via snmp for storage on
 windows system:
 
 $ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w
 80% -c 90% -v
 V1 login : public
 OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:  Serial
 Number e0153914
 OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:  Serial
 Number e8a58f58
 OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\
 OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory
 OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory
 Found : 0 match : 0 OID queries
 ERROR : Unknown storage zzz
 
 Next, choose your victim:
  
 $ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m Physical
 Memory -w 80% -c 90%
 OK : Physical Memory: 8%used(695MB/8190MB)  :  80
 %  | 'Physical Memory'=695MB;6551;7370;0;8189
 
 Hth, regards,
 james
 
 -Original Message-
 From: James Pratt [mailto:jpr...@norwich.edu]
 
 Sent: Wednesday, May 20, 2009 8:45 AM
 To: Melanie Pfefer
 Cc: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] FW: RE [spam?] memory on windows
 
 Sorry - I see what you are doing now. 
 
 Try a -q instead of -m, and change it to Ram and let us
 know how that works - You can also snmpwalk the host to see
 if the RamDisk entry (Index entries use the -m) shows up
 in the output anywhere. (Chances are, it does not, which
 would explain the ERROR)
 
 Thanks,
 James
 
 -Original Message-
 From: James Pratt 
 Sent: Wednesday, May 20, 2009 8:40 AM
 To: 'Melanie Pfefer'
 Cc: nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] RE [spam?] memory on windows
 
 Hmm.. is RamDisk a mount point on a *nix machine, or 
 ?
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Wednesday, May 20, 2009 8:38 AM
 To: James Pratt
 Cc: nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] RE [spam?] memory on windows
 
 
 Hi
 
 actually I tried this also
 
 ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s
 -w 80% -c 90%
 Unknown storage : RamDisk : ERROR
 
 regards
 
 --- On Mon, 18/5/09, James Pratt jpr...@norwich.edu
 wrote:
 
  From: James Pratt jpr...@norwich.edu
  Subject: RE: [Nagios-users] RE [spam?]  memory on
 windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:39 PM
  http://nagios.manubulon.com/
  
  
  
  -Original Message-
  From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
  
  Sent: Monday, May 18, 2009 11:15 AM
  To: frank.bourd...@dga.defense.gouv.fr
  Cc: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] RE [spam?] memory on
 windows
  
  
  maybe I was not clear enough
  I need to use snmp
  
  
  thanks
  
  --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
  frank.bourd...@dga.defense.gouv.fr
  wrote:
  
   From: frank.bourd...@dga.defense.gouv.fr
  frank.bourd...@dga.defense.gouv.fr
   Subject: RE [spam?] [Nagios-users] memory on
 windows
   To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
   Cc: nagios-users@lists.sourceforge.net
   Date: Monday, 18 May, 2009, 6:00 PM
   
   
   Hi Melanie,
   
   
   
   NSCLIENT++ is the Nagios
   client for
   Windows 2003, 2000, 2008. You can download it at
   http://nsclient++.org/nscp/.
   Follow the documentation on the web site. 
   
   
   
   [ENVOYE PAR INTERNET]
   
   
   
   
   
   frank.bourd...@dga.defense.gouv.fr
   
   
   
   
   
   
   
   
   Melanie
   Pfefer melanie_pfe...@yahoo.co.uk
   
   18/05/2009 16:51
   
   
   
   
   A
   nagiosplug-h...@lists.sourceforge.net
   
   
   cc
   nagios-users@lists.sourceforge.net
   
   
   Objet
   [spam?] [Nagios-users]
   memory on windows
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   hi
   
   
   
   I have a windows 2003 and want to monitor its
 memory
  usage
   
   
   
   can you please pass me the plugin that can notify
 me
  if
   memory usage reached
   X GB?
   
   
   
   thank you
   
   
   
   
   
         
   
   
   
  
 
 --
   
   Crystal Reports - New Free Runtime and 30 Day
 Trial
   
   Check out the new simplified licensing option
 that
  enables
   
   
   unlimited royalty-free distribution of the
 report
  engine 
   
   for externally facing server and web deployment.
 
   
   http://p.sf.net/sfu/businessobjects
   
   ___
   
   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