Hi all, due to the vast response I got for the patch and instructions to get
this working I will supply a summary of what I did and a link to the patch.
First install the WhatsUp Gold SNMP Threshold Plug-in available from
Ipswitch, Inc.http://www.ipswitch.com
1) Download and extract the following files from SNMPCHK.ZIP into your
WhatsUp Gold program directory:
- SNMPCHK.TXT (installation instructions)
- SNMPCHK.BAT (batch script to install the plug-in)
- SNMPCHK.DLL (SNMP Threshold dll)
- SNMPCHK.HLP (Help file)
- SNMPCHK.CNT (Help contents file)
- SVSINST.EXE (application called by batch script)
2) Run SNMPCHK.BAT.
3) Restart WhatsUp Gold.
You will now find two new options under the Tools menu, namely, SNMP Graph
Utility and the SNMP Viewer as well as "SNMP Threshold" under Custom
Services.
Once you have installed the plug-in, you:
1) Define an SNMP value to monitor.
2) Turn on monitoring for particular devices.
To define a service to monitor:
1) Start WhatsUp Gold.
2) Select Custom Services from the View menu.
3) Click the New button. (In the New Service dialog box,
enter a name for the new service, select "SNMP Threshold"
as the type, and click OK.)
Tip: The OID our WUG currently monitors is:
CPU utilization:
1.3.6.1.2.1.25.3.3.1.2.2
(This OID is a value in % that is automatically calculated on the free CPU
over the last 60secs.)
Disk utilization
1.3.6.1.2.1.25.2.3.1.6.2
(This OID is a value of free disk space in allocation units, determine what
eg. 80% of the total free disk space in allocation units is and use this
value in the rule.)(see also the chkdsk command)
Note:
There is a bug in the current SNMP Agent, this value is not updated
automatically. (see link below)
http://support.microsoft.com/support/kb/articles/Q295/5/87.ASP?LN=EN-US&SD=g
n&FR=0&qry=snmp&rnk=26&src=DHCS_MSPSS_gn_SRCH&SPR=WIN2000
A patch was received from Microsoft and is available here.
http://home.worldonline.co.za/~kevinvb/Q295587_W2k_SP3_x86_en.exe
Select the new service in the list and click the Help button for further
instructions on defining a service to monitor and turning on monitoring for
particular devices.
Tip:
There are OID�s for Storage description, allocation units, size and free
space. The MIB Browser that comes with WUG is crappy, rather use a freeware
MIB Browser, called Getif, available from
http://www.wtcs.org/snmp4tpc/testing.htm (see screen dump below)
Note that in order to talk SNMP with a device you have to allow SNMP (UDP
ports 161 and 162) to and from the device as well as know the community
name of the device you will be monitoring. We had to open an Access
List/Firewall (ACL) to allow the WUG Server to talk SNMP with the devices.
Tip:
Initially when testing the process do all the testing from a single PC to
the local interface, ie. 127.0.0.1
Important:
To be able to talk SNMP with a device not only must the SNMP protocol be
allowed and the community name be known but also the SNMP Agent/Service has
to be running on the box and configured correctly.
To install the SNMP on Windows 2000/NT, perform the following;
Click Start -> Settings -> Control Panels and double-click Add/Remove
Programs.
Click the Add/Remove Windows Components button.
Click Management and Monitoring Tools and click the Details button.
Press the Simple Network Management Protocol check box and click Ok.
Click Next, and after the wizard finishes installing click Finished.
Under Control Panel -> Administrative Tools -> Services, is a list of all
Services running on the box, scroll down to SNMP Service and right click and
select Properties. Complete the fields under the Agent tag and select the
�Physical� ticbox.
Add the relevant community name and trap destination under the Traps and
Security tags.
This should be all that is required to talk SNMP with the relevant device.
Goodluck, if you have any problems just ask.
Seeya
Kevin
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin van
> Blerk
> Sent: 25 September 2001 2:04 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [WhatsUp Forum] Monitoring System Variables Using SNMP
> (cont.)
>
>
> Hi, I never did get any response to this posting but did manage to get it
> working, a patch is required to get the SNMP Service to dynamically update
> the free hdd space. I received the patch from M$ and can supply
> it if anyone
> needs it.
> It is pretty easy to get working and it does work well.
> Currently I monitor CPU utilization and free disk space on all our W2K and
> NT Servers.
>
> Kevin
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin van
> > Blerk
> > Sent: 14 September 2001 11:56 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [WhatsUp Forum] Monitoring System Variables Using SNMP
> > (cont.)
> >
> >
> > Hi, I have not had any response to this posting yet and would
> > like to appeal
> > again if anyone in fact does use the WUG SNMP facility to manage
> > specifically HDD space ?
> >
> > I am monitoring the OID 1.3.6.1.2.1.25.2.3.1.6.2 and although I do get a
> > free space result it does not change unless I restart the SNMP
> Service. I
> > have confirmed this on M$:
> > http://support.microsoft.com/support/kb/articles/Q295/5/87.ASP?LN=
> > EN-US&SD=g
> > n&FR=0&qry=snmp&rnk=26&src=DHCS_MSPSS_gn_SRCH&SPR=WIN2000
> >
> > I have installed SP2 but it has not fixed this bug yet. I have
> > contacted M$
> > and await a reply. Does anyone have a hack fix ?
> >
> > thnx
> > Kevin
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin van
> > > Blerk
> > > Sent: 13 September 2001 1:12 PM
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED]
> > > Subject: RE: [WhatsUp Forum] Monitoring System Variables Using SNMP
> > > (cont.)
> > >
> > >
> > > FYI, I have managed to get the CPU% to work with WUG but I am having
> > > difficulty getting the OID's for HDD space used or free, and
> > > memory used or
> > > free ? I have installed M$, Compaq and Win2K MIBS. Any help ?
> > >
> > > thnx
> > > Kevin
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin van
> > > > Blerk
> > > > Sent: 13 September 2001 9:40 AM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: [WhatsUp Forum] Monitoring System Variables Using
> > SNMP (cont.)
> > > >
> > > >
> > > > Hi guys n girls
> > > >
> > > > I have searched through old postings on this topic as well as
> > > > looked on the
> > > > Ipswitch KB but still do not find the answers I need. I will tell
> > > > you what I
> > > > have done and what I need. Before I start monitoring live servers
> > > > I want to
> > > > see how the WUG threshold monitoring works so I am trying it on
> > > > my local PC
> > > > first.
> > > >
> > > > I have:
> > > >
> > > > - installed the SNMP Service as well as the SNMP Trap Service
> > > > under Computer
> > > > Management (Win2K)
> > > > - configured the Agent and Security(community name) settings
> > > > - downloaded various Win2K, Microsoft and Compaq MIBS and
> > installed them
> > > > with mibextra in WUG as well as getif
> > > > - downloaded getif and tried to browse the Win2K/Compaq machine
> > > > (which just
> > > > for this test happens to be the same machine) but only seem to
> > > > see info for
> > > > the ethernet card, loopback address and some system info.
> > > > - tried a snmpwalk from the top level but do not see any
> > vendor specific
> > > > info, there is no data for the CPU%
> > > > (.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0) or
> > > > similar queries ?
> > > >
> > > > I have tried both the WUG MIB viewer as well as getif but still
> > > > do not find
> > > > what I am looking for.
> > > > It seems possibly that I have to load the MIB on the Win2K
> > > > somehow as well ?
> > > > Is this so, how ?
> > > >
> > > > Does anyone monitor CPU%, HDD% and MEM% with WUG ? Can you
> > > assist please ?
> > > >
> > > > thnx
> > > > Kevin
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > > > lori.litzenberg
> > > > > Sent: 31 August 2001 2:05 PM
> > > > > To: '[EMAIL PROTECTED]'
> > > > > Subject: RE: [WhatsUp Forum] Monitoring System Variables
> Using SNMP
> > > > >
> > > > >
> > > > >
> > > > > Did you install SNMP and the appropriate MIB's on the target
> > > > system? You
> > > > > won't get any information unless that step is done. What is
> > > > the OS on the
> > > > > systems you're trying to monitor?
> > > > >
> > > > > The MIB browser in WUG really stinks. You should try using
> > > > Getif. You'll
> > > > > find Getif and a lot of SNMP information on this site...
> > > > > http://www.wtcs.org/snmp4tpc/default.htm.
> > > > >
> > > > > I went through the same thing you're going through and this site
> > > > > helped me.
> > > > >
> > > > >
> > > > > - Lori
> > > > > -----Original Message-----
> > > > > From: Strahan McCarten [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, August 30, 2001 5:02 PM
> > > > > To: '[EMAIL PROTECTED]'
> > > > > Subject: [WhatsUp Forum] Monitoring System Variables Using SNMP
> > > > >
> > > > >
> > > > > Afternoon,
> > > > >
> > > > > I've seen and tried to follow the various messages passed along
> > > > > through this
> > > > > list about monitoring disk space, CPU usage, etc, but I'm
> > > still not much
> > > > > further ahead. I've downloaded and extracted the MIB files, but
> > > > what next?
> > > > > I've installed the SNMP Threshold monitoring tool, but I
> > > don't know what
> > > > > Object ID to monitor. I've tried using Net Tools to
> > > > troubleshoot the OID's
> > > > > and see if I can even get a value out of it, but I can't.
> > > > >
> > > > > I need some sort of middle step, because I'm lost.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Strahan McCarten
> > > > > Systems Administrator
> > > > > Homestore.com
> > > > > [EMAIL PROTECTED]
> > > > > direct 416-620-4610 x.1120
> > > > > cellular 416-716-3943
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > > > to be removed from this list.
> > > > >
> > > > > An Archive of this list is available at:
> > > > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> > > > >
> > > > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > > > to be removed from this list.
> > > > >
> > > > > An Archive of this list is available at:
> > > > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> > > >
> > > >
> > > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > > to be removed from this list.
> > > >
> > > > An Archive of this list is available at:
> > > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> > >
> > >
> > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > to be removed from this list.
> > >
> > > An Archive of this list is available at:
> > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/