Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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.
Current Version
Last Release Date
June 18, 2009
Owner
Jason Ellison
Website
http://www.jasonellison.net/projects.html
-= 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
Worked great out of the box for me on an XI system. Good plugin, thanks.
Also, be sure to install libio-socket-ssl-perl if you plan to use this monitor with the pop3s flag.
Works well; ensure you have libmail-pop3client-perl installed!
You must be logged in to submit a review.
To:
From: