Changes between Version 1 and Version 2 of ErrorCodeCheck


Ignore:
Timestamp:
07/10/13 10:02:37 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ErrorCodeCheck

    v1 v2  
    11= Webserver log file error code checking = 
    22 
    3 Following is a script which is installed on wiki:PuffinServer as {{{/usr/local/bin/weblog-erors}}} and which is run via {{{/etc/logrotate.d/nginx}}} and it sends a email with the results just before the log is rotated each day: 
     3Following is a script which is installed on wiki:PuffinServer as {{{/usr/local/bin/weblog-erors}}}, this script was written in response to ticket:563 and this script is run via {{{/etc/logrotate.d/nginx}}} and it sends a email with the results just before the log is rotated each day: 
    44 
    55{{{ 
     
    4848LOGFILE="/var/log/nginx/access.log" 
    4949 
    50 # Optional email address to send the reults to 
     50# Optional email address to send the results to 
    5151EMAIL=$1 
    5252