The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Monitor script queue and server load script.

Discussion in 'General Discussion' started by boyforeigner, Sep 4, 2006.

  1. boyforeigner

    boyforeigner Well-Known Member

    Joined:
    May 18, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I though a whm script that would be great:

    check mail queue and if messages are over then 1000 send a message to admin.

    another is:
    check server load, if it is above like 5.0 send a message to admin.

    Doing it will let the hosting company see the problens before the clients tell us.

    If you guys have a script like this in your tutorials let me know.

    I know this could be made in a few minutes. I am not sure how to do it. so who has it share with us. It would be great.
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I have a script to monitor server load. See link in my sig.

    I also have a script to clean the mail queue, a WHM and a cron job version. The number of emails in the queue is a good idea.
     
  3. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
  4. nxds

    nxds Well-Known Member

    Joined:
    Jan 6, 2006
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Have a look at www.nagios.org. It's not trivial to set up, but well worth the effort. I monitor around 30 servers and get alerts when there are problems. I have attached a portion of a page which shows the stuff I monitor on a cPanel server.
     

    Attached Files:

Loading...

Share This Page