[exim-dev] Exim monitoring with Nagios

Top Page
Delete this message
Reply to this message
Author: Ron
Date:  
To: exim-dev
Subject: [exim-dev] Exim monitoring with Nagios

Hello,

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. 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. If in exim.conf I put
queue_list_requires_admin = false then nrpe see's it just fine and returns
normal information, without it you get a "denied" message. So I guess my
questions are how secure is this? Is there another alternative to getting a
exim queue count from another user aside from root? Can you add another user
to the exim group ? All systems are linuxed based, redhat, fedora, or cent
os but a few have cpanel on them as well which exim is bundled in with their
install package as it uses maildir rather then mbox

Thanks
-Ron
--
View this message in context: http://www.nabble.com/Exim-monitoring-with-Nagios-tf2036565.html#a5604087
Sent from the Exim Dev forum at Nabble.com.