RE: [Nagios-users] check_mailq usage
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Steve S. <s.s...@au...> - 2004-04-26 22:13:16
|
>kol...@bv... wrote: > >>1. I use postfix >>2. I'm on gentoo linux >>3. mail in queue is actually stored in /var/spool/postfix/ (with LOTS=20 >>of sub-dirs under it) I've written a whole new check_mailq for postfix here, since it holds = the data in a much different way. forking off to /usr/bin/mailq is much = slower since it extracts lots of information about the mails, where we only = want to count them (ie, count the entries in the directories and sum). Our mailq is normally in the 8000-10000 range, and it works well. Email = me if you are perl-aware and want a copy (it's a bit rough to put on public release) Steve --- Steve Shipway: ITSS, University of Auckland Email: s.s...@au... Web: http://www.steveshipway.org/ =20 ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** |