Hi Jordi,

I fixed it!

I realized that with 'ln -s /usr/bin/mailq.postfix /usr/bin/mailq' I can simulate the mailq command. It's strange, because the execution of mailq.postfix shows nothing, but it works with monitorix.

In my github repository https://github.com/macareno/centos-ansible/tree/master/provisioner/roles/monitorix I'll update this config to deploy monitorix with ansible en Plesk 11.5 and above. There are some more bugs in my original configuration, for example pflogsumm can't be in /usr/local/bin/ because isn't in the path used in mail.pm

There are other features like greylisting or spam that not working yet, aren't compatible with Plesk configuration. I'll do my best :-)

Regards,



El 21/02/14 10:24, Jordi Sanfeliu escribió:
Hi Rubén,

The error message from Perl after executing your script could be because
Monitorix doesn't understand the output of 'postqueue -p'.

Can you paste here the error message and the output of 'postqueue -p'?
I'd try to add support of that tool if you don't find any other way to
make it working.

Let me know.
Regards.



On 02/20/2014 06:36 PM, Rubén Ramos wrote:
Hi Jordi,

Plesk panel changes postfix standard package for another one that is compiled 
from Parallels. There are some thousand of servers with this configuration :-)

It comes with mailq.postfix The execution of this binary shows nothing.

In my tests, the workaround with bash script shows an error from perl. I will 
try to catch the error.

Thanks!


--
*Rubén RAMOS SALCINES*
Responsable de Sistemas

ITEISA <http://www.iteisa.com>
ITEISA DESARROLLO Y SISTEMAS, S.L.
Benidorm, 8 bajo. 39005 Santander. España.
Teléfonos: 902055277, 942943483 y 691152158
*www.iteisa.com* <http://www.iteisa.com> · twitter.com/iteisa <http://www.twitter.com/iteisa> · fb.com/iteisa <http://www.fb.com/iteisa>

*Sólo hacemos cuatro cosas, pero las hacemos muy bien <http://www.iteisa.com/dossier.pdf> (PDF, 1,3 MB)*
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to