Ossec for monitor ispconfig2 sites

Discussion in 'General' started by princebenin, Apr 8, 2010.

  1. princebenin

    princebenin New Member

    Hi,
    Help,
    How i can rewrite this rules for monitor all apache log files on ispconfig2 sites?

    Code:
    <localfile>
        <log_format>apache</log_format>
        <location>/var/log/apache2/error.log</location>
      </localfile>
    
      <localfile>
        <log_format>apache</log_format>
        <location>/var/log/apache2/access.log</location>
      </localfile>
    
     
  2. princebenin

    princebenin New Member

    Hi,
    I found,

    Code:
    <localfile>
         <log_format>apache</log_format>
         <location>/var/www/web*/log/error.log</location>
    </localfile>
      
    <localfile>
          <log_format>apache</log_format>
          <location>/var/www/web*/log/web.log</location>
    </localfile>
     

Share This Page