check_mailq changes for exim?

Cal Evans cal at calevans.com
Sun Sep 7 02:01:52 CEST 2003


Skip Montanaro wrote:

>     >> Before I exercise my feeble Perl skills, does anyone have mods for
>     >> the check_mailq plugin which will check exim's mail queue?
> 
>     Cal> I actually wrote one, in bash, got completely finished with it and
>     Cal> began testing before I remembered that you have to be an root to
>     Cal> execute exim -bp? I'm not really keen on making nagios an admin for
>     Cal> my mail server so I'm currently in 'thinking' mode on this one.
> 
>     Cal> I'm open to suggestions though.
> 
> I did a little reading of the exim spec.txt file today and saw that there's
> an option (queue_list_requires_admin) which, when set false, allows mere
> mortals to list the mail queue.  I'm not an exim user, just trying to
> monitor a system that runs it, so take this suggestion with a grain of
> salt.  I doubt there'd be a huge security hole opened up as a result, but
> the restriction is probably there for a reason.
> 
> Skip
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
Yes, this did the trick.  Now my check_exim_queue.sh works like a charm. 
  I'm still a little wary of the security ramifications of this but for 
now it seems to be ok.

Thanks for the heads up.

=C=

-- 
* Cal Evans
* http://www.eicc.com
* We take care of your IT,
* So you can take care of your business.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list