Results 1 to 6 of 6

Thread: Error Monitoring(RESOLVED)

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    12

    Resolved Error Monitoring(RESOLVED)

    Let me premise my question with a little background info. I have programmed with VB for a little over 6 months now. I am quite comfortable with VB and some API. Having said that, let me state my problem.

    I work for as a computer operator and we monitor about 14 servers. As of now, we manually walk up to each server and view each one for error messages on the screen. What I am looking to do is automate the process.

    I want to add a client console to one computer that will go to each server and get the list of errors that is on each server. I think I can achieve this by getting the Windows message map through the windows api. Where I am getting stuck is how to get the client console to get the error messages on the server. If anyone has any experience with this type of process, your help would be appreciated.
    Last edited by dwillynt; Feb 23rd, 2005 at 09:45 AM.

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Error Monitoring

    Ok assuming you can get the error from the server, (i'm not sure how to do that) i can show you how to send it to the client (or your monitoring PC)

    Start by looking and learning about the winsock control....

    http://www.vbforums.com/showpost.php...57&postcount=1
    http://winsockvb.com/article.php?article_id=15

    when you think you have got to grips with this. You will need to look at control arrays (so you can handle more than one connection (12 in your case)

    Hope That Helps

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    12

    Re: Error Monitoring

    Pino, thanks for your reply.
    I think I know where you are going with this. You are suggesting a little program that resides on the server itself that traps the errors and then sends the reports to the client. I wanted to work the other way. Have the client go out to the server (via winsock) and get the error messages.

    I said that I was getting stuck on how to get to the server. Let me restate that. I know that I can get to the server through winsock controls. I have a little experience with that and that is should not be a problem. After I open the session with the remote computer, how do I get the errors on that computer. Will I need a program on that computer that traps the errors and logs them and then read the logs? Or can I access the winapi and read the errors.
    Last edited by dwillynt; Feb 23rd, 2005 at 09:24 AM.

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    12

    Re: Error Monitoring

    Again Pino thanks for your reply.
    I think I will just have to use a small program that resides on each server to get the list of error messages and then put them into a log on a file server. Then access the log with the client machine and report the errors. This is the best solution that I have for now.

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Error Monitoring(RESOLVED)

    DCOM is great for this. Have you looked into it?
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Error Monitoring(RESOLVED)

    Are they Windows machines? Can't you use the MMC to look at the logs on the other machines? Or don't the errors get sent to the log?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width