Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 10th, 2006, 04:59 PM
berman002 berman002 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 berman002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 3 sec
Reputation Power: 0
Performane Logs and Alerts problem

i got some problem to set up an alert in Performane Logs and Alerts, it auto send me an email after the counter has been tripped.
this is an logical disk counter after the free space under 30%, it should run the following vbs code
please give me a hand to solve this problem, or work around with it.

the situation is from computer 1 monitor computer 2 disk space, and if low send an email to admin.

computer 1 running small business server 2003, computer 2 is webserver


a lot lot thanks.


Set objEmail = CreateObject("CDO.Message")
objEmail.From = "yyyyy@yyyyyyyy.com"
objEmail.To = "xxxx@xxxxxx.com"
objEmail.Subject = " Disk full"
objEmail.Textbody = "need clean up"
objEmail.Send

i save this code as .vbs file and put it into "Run this program", but it doesn't run at all and come up with an error in event log as show below.

Also i am wounder, how i should set up an "command line arguements"



ID 2038
Unable to execute command '' for the diskfull alert. The alert will continue as scheduled. The error code returned is in the data.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Reply With Quote
  #2  
Old September 10th, 2006, 06:13 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,269 markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 53 m 15 sec
Reputation Power: 306
Performane Logs and Alerts problem

why do you want to use vb to send the notify email if the disk space is low, cause if configure ur servers performance and monitoring correctly it'll do it anyway?
__________________
Hope this advise helps.

If so please show your appreciation by adding reputation points (click gauge image on top right of this post and score).

Reply With Quote
  #3  
Old September 10th, 2006, 06:34 PM
berman002 berman002 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 berman002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 3 sec
Reputation Power: 0
how?

can you let me know how to send auto email from performance and mon???

the situation is from computer 1 monitor computer 2 disk space, and if low send an email to admin.

computer 1 running small business server 2003, computer 2 is webserver

Reply With Quote
  #4  
Old September 13th, 2006, 06:40 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,269 markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 53 m 15 sec
Reputation Power: 306
Performane Logs and Alerts problem

with small business server 2003 go to the Server Managment and click on Monitoring and Reports then click on Setup Monitoring Reports and alerts and follow the wizard which will walk you through all ur required monitoring & alerts

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > Performane Logs and Alerts problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek