Postfix queue ckeck in Nagios Xi
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Postfix queue ckeck in Nagios Xi
Hi Nagios support team,
I want to check the queue count in postfix in Nagios XI.I see some nagios plugins in nagios exchange which is related to Nagios 3.x versions.
Which plugins do you recommend for Nagios XI?
Cheers
Majid
I want to check the queue count in postfix in Nagios XI.I see some nagios plugins in nagios exchange which is related to Nagios 3.x versions.
Which plugins do you recommend for Nagios XI?
Cheers
Majid
Re: Postfix queue ckeck in Nagios Xi
Does the check_mailq plugin that is part of the nagios-plugins package (should be in your /usr/local/nagios/libexec path) not satisfy your use case?
Code: Select all
[root@localhost libexec]# ./check_mailq
Usage: check_mailq -w <warn> -c <crit> [-W <warn>] [-C <crit>] [-M <MTA>] [-t <timeout>] [-v verbose]Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Postfix queue ckeck in Nagios Xi
Thank you for your response,
I didnt know about this plugin.how should I use it in Ngaios XI ?
I mean in GUI workspace not in CLI? I want to monitor the queue.
Cheers
I didnt know about this plugin.how should I use it in Ngaios XI ?
I mean in GUI workspace not in CLI? I want to monitor the queue.
Cheers
Re: Postfix queue ckeck in Nagios Xi
Does this documentation offer any insight? It's basically the exact process I would be detailing in this post.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Step 1) Create a Command definition for the check_mailq plugin
Step 2) Create a Service definition that uses the previous check_mailq command
Step 3) Apply configuration
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Step 1) Create a Command definition for the check_mailq plugin
Step 2) Create a Service definition that uses the previous check_mailq command
Step 3) Apply configuration
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Postfix queue ckeck in Nagios Xi
Thank you very much for your help
Re: Postfix queue ckeck in Nagios Xi
Happy to be of assistance! Let us know if you have any issues with the document I posted.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Postfix queue ckeck in Nagios Xi
I'm trying to use this plugins for postfix,although in it's description is the support for sendmail and qmail.
Please don't close this thread until I see the proper result,otherwise I should search for another solution.
Cheers
Majid
Please don't close this thread until I see the proper result,otherwise I should search for another solution.
Cheers
Majid
Re: Postfix queue ckeck in Nagios Xi
It should also support postfix via the -M argument.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Postfix queue ckeck in Nagios Xi
and What should I put for 'MTA' option?
Re: Postfix queue ckeck in Nagios Xi
Looking at the help menu, using -M postfix should give you the result you want.
It's leveraging the system's mailq command though, so if there's something on your system forcing that command to check the sendmail queue there could be problems.
Code: Select all
-M (--mailserver) = [ sendmail | qmail | postfix | exim | nullmailer ] (default = sendmail)
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/