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 pop3 account

Rating
6 votes
Favoured:
2
Owner
Hits
105436
Files:
FileDescription
check_pop3_account.1.0.plcheck_pop3_account.1.0.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_pop3_account.pl logs into a POP3 or POP3 over SSL (POP3S) account and reports the number of messages found. It can optionally generate alerts based on the number of messages found. Performance data is available in the form of the number of messages found.
-= INFORMATION ABOUT THIS PLUGIN =-

check_pop3_account.pl logs into a POP3 or POP3 over SSL (POP3S) account and reports the number of messages found. It can optionally generate alerts based on the number of messages found. Performance data is available.

You may omit the warning and critical options if you are not concerned about the number of messages in the account. The protocol option may also be ommited. If protocol is not defined it will default to POP3.

This program is written and maintained by:
Jason Ellison - infotek(at)gmail.com

It is a slight rewrite of a POP3 plugin written by Moshe Sharon.

-= SETUP NOTES =-

Copy this file to your Nagios installation folder in "libexec/".
Rename to "check_pop3_account.pl"

Manually test it with a command like the following:
./check_pop3_account.pl -H pop.example.org -u username -p password

NAGIOS SETUP

define command{
command_name check_pop3_account
command_line $USER1$/check_pop3_account.pl -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -w $ARG3$ -c $ARG4$ -P $ARG5$
}

define service{
use generic-service
host_name MAILSERVER
service_description Check POP3 Account
check_command check_pop3_account!jellison!A$3cr3T!10!50!pop3
normal_check_interval 3
retry_check_interval 1
Reviews (3)
byGldRush98, September 18, 2013
Worked great out of the box for me on an XI system. Good plugin, thanks.
byjavieitez, February 22, 2013
Also, be sure to install libio-socket-ssl-perl if you plan to use this monitor with the pop3s flag.
byGrenage, February 3, 2011
1 of 1 people found this review helpful
Works well; ensure you have libmail-pop3client-perl installed!