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

Directory Tree

check_postfix

Rating
0 votes
Favoured:
0
Hits
103764
Files:
FileDescription
check_postfix.txtcheck_postfix
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Basic monitor that checks if Postfix is up and running.
Basic monitor that checks if Postfix is up and running. It checks for a number of processes and ports.

This script was quickly hacked together for my current customer, as a Q&D solution for their monitoring needs. It's no beauty, but it works. Written in ksh and tested with:
* Solaris 8
* NRPE 1.9

Should work with other versions as well.

The script sends a Critical if:
A) One or more processes are not running, or
B) One or more ports are not available for connections.

UPDATE 19/06/2006:
Cleaned up the script a bit and added some checks that are considered the Right Thing to do. Should have done this -way- earlier!