Loading ...
Sorry, an error occurred while loading the content.

Re: postfix munin graphs

Expand Messages
  • Grant
    ... I knew that. I just didn t think it through. :) Thanks for your help! - Grant
    Message 1 of 9 , Jun 19, 2013
    • 0 Attachment
      >>>>>>> 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...

      I knew that. I just didn't think it through. :) Thanks for your help!

      - Grant
    • Marko Weber | ZBF
      ... i think u should define your syslog-ng.conf. this is not part of the gentoo package maintainer. here munin works like a charm. with postfix. marko
      Message 2 of 9 , Jun 19, 2013
      • 0 Attachment
        Am 2013-06-19 09:56, schrieb Grant:
        >>>>> 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?

        i think u should define your syslog-ng.conf. this is not part of the
        gentoo package maintainer.
        here munin works like a charm. with postfix.

        marko

        >
        > - Grant
      Your message has been successfully submitted and would be delivered to recipients shortly.