These are some of the Nagios plugins i wrote which may be useful for you. You may download them via http://www.nagiosexchange.org too. All plugins are released under GPLv2 license.
check_imap_mailbox
Details
This plugin monitors a given IMAP mailbox for new mail. When a new mail arrived a CRITICAL error will be returned. No new mail(s) will result in OK
Depencies
Usage
Usage: check_imap_mailbox [PARAMETERS] Parameters: --host=[HOSTNAME] : Name or IP address of IMAP server --user=[USERNAME] : Username to connect with --pass=[PASSWORD] : Password to connect with --folder=[IMAP FOLDER] : The IMAP folder to check
Download latest version:

check_imap_mailbox / version 0.1 / size 1.25 kB / dlcount 407
check_jk_status
Details
Check the current status of a given JK loadbalancer. The status is fetched from the management URL (jkstatus). The plugin returns CRITICAL as soon as a cluster node has failed.
Depencies
- XML::Simple from CPAN
- Getopt::Long from CPAN
- wget from gnu.org
Usage
Usage: check_jk_status [PARAMETERS] Parameters: --host=[HOSTNAME] : Name or IP address of JK management interface --balancer=[JK BALANCER] : Name of the JK balancer
Download latest version:

check_jk_status / version 0.1 / size 1.72 kB / dlcount 319
check_foundry_ports
Details
Compare the port status of Foundry switches against a given list and returns CRITICAL if any of the ports has status different from the defined value. May indicate that a switch/server failed or a new unauthorized connection took place.
Depencies
- Getopt::Long from CPAN
- snmpget from net-snmp.sourceforge.net
Usage
Usage: check_foundry_ports [PARAMETERS] Parameters: --host=[HOSTNAME] : Hostname or IP-Address of Foundry device --community=[SNMP COMMUNITY] : SNMP community string --port=[INTERFACE NR] : The interface number to check (1,2,3,22,...)
Download latest version:

check_foundry_ports / version 0.9 / size 1.91 kB / dlcount 250
