On 06/19/2013 10:03 AM, Grant wrote: >>>>>> I think I need to tell munin where my postfix logs are >>>>>> (/var/log/mail/current) since I use metalog. How can I do that? >>> >>> Instead of searching online, use the built-in pod based format, e.g.: >>> >>> $ munindoc postfix_mailstats >> >> You just improved my life. >> >>> You might also need to set group permissions to be able to read the log >>> file. >> >> I have this on /var/log/mail/: >> >> drwx------ 2 root root >> >> Since Gentoo set it up this way, I wonder if changing it would open a >> hole. What do you think? >> >> - Grant > > Actually, it seems to be working with permissions as-is. How can that > be since apache runs as apache:apache?
The webinterface (running as apache:apache) does not collect the data, the munin-node daemon does that. Probably the data collection is configured to run as root (at least for the postfix plugin). Again, read the docs ;) You seem to have missed (a part of) the basic understanding of how munin works... -- Tom
signature.asc
Description: OpenPGP digital signature