Hi Toni,

Thank you very much for your inputs. Sure I ll give it a shot.

Cheers,

Sampath.



Toni Van Remortel wrote:

Hi Sampath,

I can't provide you the script yet due to company policies. But I can tell you how you can create your own checks for this.

/Outbound queue/

Count all files below /var/spool/postfix/deferred. This directory has a subtree which you should loop over. A quick and dirty way of checking is with "ls -1 /var/spool/postfix/deferred/?/* | wc -l"

/Inbound queue/

Count all files below /var/spool/postfix/hold. Easy check with "ls -1 /var/spool/postfix/hold/* | wc --l"

Regards,

Toni Van Remortel

System Engineer @ Precision Operations N.V.

+32 3 451 92 20 - [email protected]

Satenrozen 2a, 2550 Kontich, Belgium

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *sampath
*Sent:* dinsdag 9 maart 2010 17:07
*To:* Opsview Users
*Subject:* Re: [opsview-users] Postfix monitoring

Hi Toni,

Can you kindly provide me the script you were using to check the queue size.


Thanks,

Sampath.



Toni Van Remortel wrote:

You can check SMTP easily, but other stats should be monitored locally.

You can use NRPE or SNMP's exec function to run local scripts. This allows you to check all Postfix items you like.

I'm currently checking the incoming and outgoing queue size through an SNMP exec script. Works pretty fast and no need to set up NRPE.

Regards,

Toni Van Remortel

System Engineer @ Precision Operations N.V.

+32 3 451 92 20 - [email protected] <mailto:[email protected]>

Satenrozen 2a, 2550 Kontich, Belgium

*From:* [email protected] <mailto:[email protected]> [mailto:[email protected]] *On Behalf Of *Steve Thomas
*Sent:* dinsdag 9 maart 2010 10:09
*To:* Opsview Users
*Subject:* [opsview-users] Postfix monitoring

Hi all,

Does anyone have Opsview monitoring Postfix on a remote Linux server? I'm interested in knowing stats on usage as well as availability

Thanks,

Steve

------------------------------------------------------------------------


_______________________________________________
Opsview-users mailing list
[email protected] <mailto:[email protected]>
http://lists.opsview.org/lists/listinfo/opsview-users
------------------------------------------------------------------------

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to