Re: zz-disk_space broken nfs problem
Georgi Georgiev <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Quoting Ivana Varekova at 05/01/2009-14:56:19(+0100): > Hello, > a bug reporter suggest to add -l option to df command to prevent the > delay which happens when some nfs is down. > I think it is a good idea so please could this change be done in > upstream version too - or is there any reason why this should not be > changed? From what I see, -l is in the default options on Linux for at least logwatch 7.3.2. It's mentioned both in the default.conf/conf/services/zz-disk_space.conf and the zz-disk_space script itself. You can easily add your favorite $df_options to a zz-disk_space.conf in dist.conf as well if the defaults don't suit you. I personally also like the -P option, which avoids the ugly wrap, especially with device names like /dev/mapper/volumegroup0-logicalvolume0. That's why I put it in /etc/logwatch/conf/services/zz-disk_space.conf $disk_cmd = "df -hP -x tmpfs -l | sed -e 's/ on$/_on/' | column -t" -- /\ Georgi Georgiev /\ Be independent. Insult a rich relative /\ \/ [email protected] \/ today. \/ /\ http://www.gg3.net/ /\ /\