Tiago Cruz
2006-05-16 11:51:49 UTC
Hello guys,
I've write a small script do monitore postfix queue using postqueue to count the
number of emails on my queue:
postqueue -p | tail -1 | cut -d " " -f 5
The problem: Sometimes, my queue have more than 20.000 emails, and I can't count
this number of emails in less then 1 minute :-)
So, I know that this questions is not about nagios, is about postfix, but maybe
some person here has the same problem and know another way to count the postfix
queue :-)
Thanks!
I've write a small script do monitore postfix queue using postqueue to count the
number of emails on my queue:
postqueue -p | tail -1 | cut -d " " -f 5
The problem: Sometimes, my queue have more than 20.000 emails, and I can't count
this number of emails in less then 1 minute :-)
So, I know that this questions is not about nagios, is about postfix, but maybe
some person here has the same problem and know another way to count the postfix
queue :-)
Thanks!
--
Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.
Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.