Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Logwatch is easy enough to install via Macports, and it seems to work but the amount of output it gives leaves something to be desired. For example, this server is primarily a Samba file server, but logwatch prints out nothing concerning Samba. What I do get is info concerning clamav, any security notifications in the system.log, & a printout of df.

share|improve this question

You have to configure it accordingly in /opt/local/share/logwatch/default.conf/logfiles/samba.conf. Adding the full path to the samba log (/var/log/samba/log.smbd and log.nmbd) files should be a first step.

share|improve this answer
    
Ok I changed samba.conf to specify the full path to log.smbd, then ran sudo logwatch & still nothing about samba. Did I miss a step? – churnd Feb 8 '11 at 2:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.