On 05/26/2014 04:35 PM, Chandana De Silva wrote:
> Hello All,
>
> The Postfix PMDA uses qshape(1) to gather postfix queue stats, by reading
> files the various postfix queue directories.
>
> The problem is that all of the postfix queues are only readable by the
> postfix user (or root).
>
> Since the postfix pmda (by default) is run under the user pcp, it cannot
> gather the necessary stats.
>
> I suspect that the postfix pmda worked correctly when pcp ran as root.
>
> Is there anyway we can make the postfix (or any) pmda run as root ?
>
Can you construct an entry in /etc/suoders.d/postfixpmda (or similar) that
allows the pcp user to gather the values and have this install as part of the
pmda?
--
-----------------------------------------------------------------------
Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst
You can choose a ready guide in some celestial voice.
If you choose not to decide, you still have made a choice.
You can choose from phantom fears and kindness that can kill;
I will choose a path that's clear
I will choose freewill. - Lee/Lifeson/Peart
|