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,151 markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 18 h 10 m 15 sec
Reputation Power: 201
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,151 markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 18 h 10 m 15 sec
Reputation Power: 201
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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT