This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTML logs

There's a way to send via e-mail the access.log file created in astaro v.3 to a specific address.
Thanks
lcapecci.
  


This thread was automatically locked due to age.
Parents
  • I think you must download the logfile first and later send a mail with the logfile 
  • That would be an orthodox way; or if you're Linux fluent, use the cnotifier script from crontab (search for Astaro posts on how to update its crontab); logs are stored in /var/log. Care should be taken to encrypt; I know Astaro has the Unix standard crypt utility lying around, but maybe somebody knows of something stronger lurking on the box??
       
  • I haven't done these but ideas popped into my clogged up brain.  So I might be in left field.

    You could automate an scp grab of the logs.  You might need a cron job on ASL to make the rotated logs available.

    You could use the email logs function and then at the mail server you automate the strip out and placement of the log.  I wouldn't be emailing unencrypted logs unless it was to the mail server next to ASL on a switched internal network. 

    But this isn't a point and clicky Windoze job.  
Reply
  • I haven't done these but ideas popped into my clogged up brain.  So I might be in left field.

    You could automate an scp grab of the logs.  You might need a cron job on ASL to make the rotated logs available.

    You could use the email logs function and then at the mail server you automate the strip out and placement of the log.  I wouldn't be emailing unencrypted logs unless it was to the mail server next to ASL on a switched internal network. 

    But this isn't a point and clicky Windoze job.  
Children
No Data