Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2003
    Posts
    47

    Default Monitor script queue and server load script.

    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. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  4. #4
    Member
    Join Date
    Jan 2006
    Posts
    50

    Default

    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 Thumbnails Attached Thumbnails Monitor script queue and server load script.-nagios.jpg  

Similar Threads & Tags
Similar threads

  1. high server load chat script
    By Aboutnet in forum Optimization
    Replies: 4
    Last Post: 10-25-2010, 06:10 PM
  2. Script to Display the current Server Load
    By chican0 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-02-2005, 06:13 PM
  3. New script to monitor your server load automatically
    By PWSowner in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-23-2004, 02:09 PM
  4. Server Load Protection and Kill Script
    By sgemma in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-22-2003, 08:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube