Nagios filling up /var/spool/mqueue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios filling up /var/spool/mqueue

Post by scottwilkerson »

The items in /cache/logwatch aren't part of the Nagios XI install but may be part of your standard install..

Can you run the following to determine your MTA

Code: Select all

ls -l /etc/alternatives/mta
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios filling up /var/spool/mqueue

Post by disrael »

tmproot@usa0300lv725>ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 27 Mar 1 2012 /etc/alternatives/mta -> /usr/sbin/sendmail.sendmail

I will speak to our datacenter regarding those files.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios filling up /var/spool/mqueue

Post by scottwilkerson »

Can you run

Code: Select all

service sendmail status
If it is not running, run

Code: Select all

service sendmail start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios filling up /var/spool/mqueue

Post by disrael »

interesting, I wonder how it stopped.

-Doron
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios filling up /var/spool/mqueue

Post by scottwilkerson »

That should fix the problem...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Nagios filling up /var/spool/mqueue

Post by jbennett »

I normally don't like to piggy back on someone elses threads, but it seems like this would be a valuable addition to troubleshooting in this instance.

I'm noticing our maillog is growing rather large as well. I've messed around with rotation/compression optons, but I'm noticing a number of connection refused entries in my maillog.

I'm getting connection refused to 2 different mail servers on our system but emails are being sent just fine. Is there a configuration somewhere that's causing this that I haven't caught yet?

Code: Select all

Apr  8 08:15:58 nagiosserver sendmail[7653]: r33FRYYn004946: to=<[email protected]>, ctladdr=<[email protected]> (501/100), delay=4+21:48:24, xdelay=00:00:00, mailer=esmtp, pri=5880586, relay=mail2.company.org., dsn=4.0.0, stat=Deferred: Connection refused by mail2.company.org.
Apr  8 08:15:58 nagiosserver sendmail[7653]: r33FPLIf002839: to=<[email protected]>, ctladdr=<[email protected]> (501/100), delay=4+21:50:37, xdelay=00:00:00, mailer=esmtp, pri=5880586, relay=mail1.company.org., dsn=4.0.0, stat=Deferred: Connection refused by mail1.company.org.
(if this should be a new thread, please pardon me and feel free to split off)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios filling up /var/spool/mqueue

Post by slansing »

Hmm, odd as well, would you mind splitting this off into a new thread? "phpbb3 won't allow us to break someones reply off and force a thread creation...I don't believe."
Locked