Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Postfix Mails Stats

Rating
0 votes
Favoured:
1
Current Version
1.1
Last Release Date
2016-10-19
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2189
Files:
FileDescription
check_mstatcheck_mstat
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Postfix Mails Stats
This is simple script that wil do the work with pnp4nagios graphs.
Please Change mail.log permissions like (chmod 644 mail.log) so plugin have read permission on mail.log
Implement logrotation on mail.log this file will rotate daily then you have stats of daily basis.
Warning and Critical levels are not defined because i dint feel the need.
#./check_mstat
Total Mails Sent: 110357 Bounced: 861 Deferred: 6068 |Sent=110357;0;9999999 Bounced=861;0;9999999 Deferred=6068;0;9999999

Thanks :) cheers
check_mstat