Jump to content

Spacetrucker

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Spacetrucker

  1. I've got a counter log running that samples the server every 5 minutes for a 24 hour period. I'm asking if the number produced in the report is an average number. For example the % disk time number is 15.401. Does this mean the average amount of time the disk was busy over that 24 hour period was 15%?

    We have another server and the % disk time number is 160.234%. How could a number like that be produced? I thought that once it reached a 100% that's it.

    I'm using the Perfmon wizard that I downloaded off of MS's site to create the counter log.

  2. I found this VB script code on Paul Sadowski's scripting page and it works for me. I put the file in the \Windows\System32 subdir and wrote a little batch file to start it with "cscript". I put the batch file in the "Run this Program" field under the Actions tab.

    Set objMessage = CreateObject("CDO.Message")

    objMessage.Subject = "Diskspace low on server"

    objMessage.From = "notifyadmin@domain.org"

    objMessage.To = "someone@domain.org"

    objMessage.TextBody = "Check disk space"

    '==This section provides the configuration information for the remote SMTP server.

    '==Normally you will only change the server name or IP.

    objMessage.Configuration.Fields.Item _

    ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

    'Name or IP of Remote SMTP Server

    objMessage.Configuration.Fields.Item _

    ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "emailserver.domain.org"

    'Server port (typically 25)

    objMessage.Configuration.Fields.Item _

    ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

    objMessage.Configuration.Fields.Update

    '==End remote SMTP server configuration section==

    objMessage.Send

  3. BLAT definitely works. The error message indicates that your SMTP server isn't going to alloy you to relay email from just any source (this is Good ThingTM, unless of course you want to relay email :)).

    I'm not saying that Blat don't work. :) I'm just saying I get the error message. I'll ask the email admin to look into relaying from the inside. Thanks for cluing me in on the meaning of the error msg.

    Don - the code you were gracious enough to send me. I tried it, and it creates a tmp file in c:\inetpub\mailroot\pickup\temp, but I don't receive it via email. Is there something else I need to do to have it emailed to me?

    And, on the telnet, I think I need to add a CR\LF at the end of the commands. It works as long as I can hit the <Enter Key> at the end of each command. But in the batch file I need to emulate hitting that <Enter Key>.

    Thanks

×
×
  • Create New...