Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check pop3 account
105869
File | Description |
---|---|
check_pop3_account.1.0.pl | check_pop3_account.1.0.pl |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
-= 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
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.
Works well; ensure you have libmail-pop3client-perl installed!