Results 1 to 3 of 3
  1. #1

    chkservd Error Logs

    I made a quick PHP web-based tool to grab all the errors from cPanel's chkservd.log for a given date or date range. Aside from grep, less, and guessing with tail -n how many lines back last week or last month starts at there was no easy way to do this.

    Since it's PHP there's open_basedir restrictions which may need to be considered, but the script can look for chkservd.log in /var/log, /tmp/, or ./

    Almost all the info can be found here:
    http://codenode.com/chkservd.html

    "Almost" meaning you'll have to get the script in some docroot you can access it by--it surely won't "install" itself.



    Community Liaisons: If you feel it necessary to remove that link then I ask you to consider (because there was a problem before):
    http://www.webhostingtalk.com/showth...hreadid=326493
    codenode.com is not commercial; neither is FlexCP and their links.

  2. #2
    And now there's a command line Perl version which is much quicker:
    http://codenode.com/chkservdlog.pl

  3. #3
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,250
    This should be in howtos not in this forum...
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

Related Posts from theWHIR.com

Posting Permissions

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