Rich Shepard wrote:
# The 'Service' option expects either the name of a filter
# (in/usr/share/logwatch/scripts/services/*) or 'All'.
# The default service(s) to report on. This should be left as All for
# most people.
Service = All
# You can also disable certain services (when specifying all)
Service = "-zz-network" # Prevents execution of zz-network service, which
# prints useful network configuration info.
Service = "-zz-sys" # Prevents execution of zz-sys service, which
# prints useful system configuration info.
Service = "-eximstats" # Prevents execution of eximstats service, which
# is a wrapper for the eximstats program.
# If you only cared about FTP messages, you could use these 2 lines
# instead of the above:
#Service = ftpd-messages # Processes ftpd messages in /var/log/messages
#Service = ftpd-xferlog # Processes ftpd messages in /var/log/xferlog
# Maybe you only wanted reports on PAM messages, then you would use:
#Service = pam_pwdb # PAM_pwdb messages - usually quite a bit
#Service = pam # General PAM messages... usually not many
*********************
The Service perimeter is being overwritten. It is first initialized as "All",
then overwritten with "-zz-netowrk" and so on. If you want to do all and
prevent the other executions then you need the concatenate the options. I
assume this is executed in the bourne shell and not the bash shell. So to
concatenate the options, you will need to modify the lines.
Service = $Service . " -zz-network"
Service = $Service . " -zz-sys"
Service = $Service . " -eximstats"
Or comment these lines out and just do "All".
Ken
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug