Re: [exim-dev] Exim monitoring with Nagios

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Haber
Data:  
Para: exim-dev
Assunto: Re: [exim-dev] Exim monitoring with Nagios
On Tue, Aug 01, 2006 at 03:04:02PM -0700, Ron wrote:
> I was toying with an idea on how to monitor a queue with nagios however Ive
> found it to be more difficult then I had thought.


This has nothing to do with exim development. Please ask user-level
questions on the appropriate mailing list.

> First off exim on my systems run as (user/group) mail and mailnull
> and to get a queue count you need to be root to get the output of
> exim -bpc I found a script here
> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=644
> which can be plugged in to check the queue but you need the NRPE
> plugin to be ran as root which is NOT a good idea.


Use sudo or add your nrpe user to the exim admin_group.

I'd prefer using sudo and only allow nrpe to execute exim -bpc.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835