Home Directory Plugins Email and Groupware Postfix check_snmp_postfixqueue.sh

check_snmp_postfixqueue.sh

Bookmark and Share

Current Version
1.0.0.1
Last Release Date
2012-10-24
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
E-mail
License
GPL
Hits
14584
Files:
FileDescription
check_snmp_posfixqueue.shScript for Nagios Server
snmppostfixqueue.shScript for Postfix Server to returne queue to SNMP Agent.
check_snmp_postfixqueue.sh
Nagios plugin to return Information from Queue Postfix by SNMP

Usage: check_snmp_postfixqueue.sh [-H hostname] [-c communauty] [-w warning] [-c critical]
-H Hostname
-C Communauty
-w (optional) warning threshold
-c (optional) critical threshold
Nagios plugin to return Information from Queue Postfix by SNMP

Usage: check_snmp_postfixqueue.sh [-H hostname] [-c communauty] [-w warning] [-c critical]
-H Hostname
-C Communauty
-w (optional) warning threshold
-c (optional) critical threshold

1. Install agent SNMP to Linux Server
2. to snmpd.conf add :

extend mailqstats /usr/local/bin/snmpqueryqueue.sh

3. restart snmpd service.

Enjoy.
Reviews (1)
byprohand, March 12, 2013
Please replace because nagios don't send an alert ! :

STATU_OK, STATU_WARNING and STATU_CRITICAL for STATE_OK, STATE_WARNING, STATE_CRITICAL

++