The event ID in the event viewer is a possibility if 10% is always the
threshold you want.  If I want to just view space information, I can write
code to display the info in anyway I want.  But I want WUG to monitor my
disk space utilization on any drive at any threshold.  Until they give us a
decent WMI threshold monitoring plug-in, it looks like snmp is the only
viable solution for WUG.

Thanks for your input.

Brandon

-----Original Message-----
From: Anthony Valuikas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 7:36 AM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Whats Up Gold Ver 8


Well I think you can get that via one of the application monitors. (the
SQL/Exchange plug-in)

http://www.ipswitch.com/Products/WhatsUp/plugins.html

Another way to do it is use the OS default 10% Event ID. (The one I use)
Srv ID:2013 The ~ disk is at or near capacity.

I know some people who write the threshold into the MRTG script.

I also know people who have a script that writes an asp page with color
coded C and D drives of all their servers.

So you can see there are a lot of ways to get that info.


Tv




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of brandon.baker
Sent: Wednesday, April 21, 2004 6:09 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Whats Up Gold Ver 8

Anthony,

Then is there a way to feed the results of the WMI script values into wug
for processing and checking against a threshold.

My guess is this is another case where WMI Monitoring is badly needed in
WUG.

Brandon

-----Original Message-----
From: Anthony Valuikas [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 1:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Whats Up Gold Ver 8


Use WMI (from snmpboy)

' Run this script at the command prompt by typing
'     cscript usedDisk.vbs

set oSvc = GetObject("winmgmts:root\cimv2")

wqlQuery = "select FreeSpace,Size from Win32_LogicalDisk where Name = 'C:'"

for each oData in oSvc.ExecQuery(wqlQuery)
        for each oProperty in oData.Properties_
                if oProperty.Name = "FreeSpace" then
                        freeC = oProperty.Value
                elseif oProperty.Name = "Size" then
                        sizeC = oProperty.Value
                end if
        next
        percentUsedC = 100 - (100 * (freeC/sizeC))
next

wqlQuery = "select FreeSpace,Size from Win32_LogicalDisk where Name = 'D:'"

for each oData in oSvc.ExecQuery(wqlQuery)
        for each oProperty in oData.Properties_
                if oProperty.Name = "FreeSpace" then
                        freeD = oProperty.Value
                elseif oProperty.Name = "Size" then
                        sizeD = oProperty.Value
                end if
        next
        percentUsedD = 100 - (100 * (freeD/sizeD))
next

wscript.echo percentUsedC
wscript.echo percentUsedD

wscript.echo Date() & " " & Time()

wscript.echo "Disk C: Used"
wscript.echo "Disk D: Used"




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karl Greenwood
Sent: Monday, April 19, 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Whats Up Gold Ver 8

Has anyone else experienced difficulty monitoring Disk space usage for Win2k
Server using SNMP and MIB's. If you have any pointers you can give me it
would be greatly appreciated as the information contained in the knowledge
base at the WUG website isnt solving the problem for me. Specifically Im not
seeing any values returned when I use the SNMP Informant, downloaded from
snmp-informant.com and walk the OIDS.

Thanks
Karl

>>> [EMAIL PROTECTED] 4/19/2004 1:03:59 PM >>>
If you do a search in the help files for event variables, you will find a
section titles "Additional Event-Specific Variables for Windows NT Events".
The % variables for NT events are listed. I believe these variables became
available in version 8.0. 


Norm Segner
SEI INVESTMENTS | One Freedom Valley Drive | Oaks, PA 19456
Tel: 610-676-2543 | Fax: 484-676-2543
>Email: [EMAIL PROTECTED] 

"There are 10 kinds of people in the world: Those who understand binary, and
those who don't." 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wittke, Marc
Sent: Monday, April 19, 2004 3:18 AM
To: [EMAIL PROTECTED] 
Subject: AW: [WhatsUp Forum] Windows Log Alerts

The whatsup manual lists a number of variables you can use in your alert. I
don't know what special variable the event-id is, but the variable %(*)
shows the whole payload

-----Urspr�ngliche Nachricht-----
Von: Blevins, Gary [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 16. April 2004 17:33
An: '[EMAIL PROTECTED]' 
Betreff: [WhatsUp Forum] Windows Log Alerts


Just a quick question. 

Does anyone know how to add the event id to an alert e-mail generated from
an error in the Windows event log?  I can send the message when an error is
generated but would like to be able to see more info from the log file.

Any help would be greatly appreciated.

Thanks,

Gary D. Blevins, Jr.
Universal Leaf North America, US
Office (252) 212-3727
Cell   (252) 343-1613
[EMAIL PROTECTED] 
IMPORTANT NOTICE:  The contents of this e-mail are confidential to the
ordinary user of the e-mail address to which it was addressed and may also
be privileged.  If you are not the addressee of this e-mail you may not
copy, forward, disclose or otherwise use it or any part of it in any form
whatsoever.  If you have received this e-mail in error please e-mail the
sender by replying to this message.

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/

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/

Reply via email to