[Nagiosplug-devel] [ nagiosplug-Feature Requests-1953437 ] check_mailq does not see "alias database unavailable"

SourceForge.net noreply at sourceforge.net
Mon Apr 28 16:06:10 CEST 2008


Feature Requests item #1953437, was opened at 2008-04-28 16:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=1953437&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: gerhard lausser (lausser)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_mailq does not see "alias database unavailable"

Initial Comment:
Hi,

i have a hp-ux11.11 server with a lot of stuck mails.

qqnagio at sshe0020:/lfs/opt/nagios# mailq
                Mail Queue (5298 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
HAA23118      163 Tue Jun 14 07:00 root
                 (alias database unavailable)
                                   root
HAA26134      163 Mon Jun 13 07:00 root
                 (alias database unavailable)
                                   root
.......
.......
.......
QAI04462        0 Sat Jun  4 16:45 MAILER-DAEMON
                 (alias database unavailable)
                                   root
qqnagio at sshe0020:/lfs/opt/nagios#

check_mailq says "mailq is empty" which is not correct.
I propose to add:

                if (/\(alias database unavailable\)/) {
                        print "$utils::PATH_TO_MAILQ = $_ \n" if $verbose ;
                        $msg_q++;
                }

just before the 
                # Finally look at the overall queue length
                #
                if (/mqueue/) {

Greetings from Munich,
Gerhard

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=1953437&group_id=29880




More information about the Devel mailing list