Plugins for queue email
Plugins for queue email
Hi,
Can we have a plugins that will monitor queue of mail on the server ?
Fyi we are using exim and qmail fro the mail server now.
Thanks.
Can we have a plugins that will monitor queue of mail on the server ?
Fyi we are using exim and qmail fro the mail server now.
Thanks.
Re: Plugins for queue email
Have you looked at:
?
Code: Select all
/usr/local/nagios/libexec/check_mailq
Re: Plugins for queue email
HI,
Yes i have seen this :
but why the result was not the same as this command on the server :
Can you fix or give the solution how are we gonna make the mail queue will have the same results ?
Thx
Yes i have seen this :
Code: Select all
# /usr/lib/nagios/plugins/check_mailq -w 10 -c 20 -M exim
mailq: Mail queue is empty
OK: mailq (0) is below threshold (10/20)|unsent=0;10;20;0
Code: Select all
# exim -bpc
81
Thx
Re: Plugins for queue email
One thing, on QMAIL when trying to monitor i still got this error :
But when try this into the host server the result was correctly :
Thanks.
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H server4210 -c check_mailq
Couldn't match /usr/sbin/qmail-qstat output
Code: Select all
/usr/lib/nagios/plugins/check_mailq -w 200 -c 400 -M qmail
CRITICAL: mailq is 575 (threshold c = 400)|unsent=575;200;400;0
Re: Plugins for queue email
How is "check_mailq" defined on the client? Can you show us the command definition?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugins for queue email
When doing on client side everything just rum smoothly
But when doing on monitor server wont run.
Thx
Code: Select all
# /usr/lib/nagios/plugins/check_mailq -w 200 -c 400 -M qmail
CRITICAL: mailq is 558 (threshold c = 400)|unsent=558;200;400;0
Thx
Re: Plugins for queue email
We will need to see the services.cfg portion that includes the service check, the commands.cfg portion that includes the command definition, and the nrpe.cfg file on the client that includes the check_mailq command.
Re: Plugins for queue email
still wont solve the problem
Any idea ?
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H server4210 -c check_mailq
Couldn't match /usr/sbin/qmail-qstat output
Re: Plugins for queue email
We will need to see the services.cfg portion that includes the service check, the commands.cfg portion that includes the command definition, and the nrpe.cfg file on the client that includes the check_mailq command.
Re: Plugins for queue email
Okay this is the configuration that you need
- Attachments
-
- nagios_config.zip
- (4.29 KiB) Downloaded 279 times
-
- nrpe.txt
- (7.47 KiB) Downloaded 456 times