Home Directory Plugins Email and Groupware Others Check SmarterMail Queue - check_queue_sm

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 SmarterMail Queue - check_queue_sm

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2016-08-11
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
6244
Files:
FileDescription
check_queue_smMain File - Check SmarterMail Queue
mx_wsdl.phpLibrary - SmarterMail Webservice Library
Nagios CSP

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!
This nagios plugin allows you to monitor your SmarterMail server queue by using SmarterMail Webservice. This will display the current number of messages in queue of a SmarterMail Server.

The plugin is a PHP script and should run on every linux distribution with PHP installed. It has been tested with SmarterMail 5.x or above and Nagios 4.0.x
This will display the current number of messages in queue of a SmarterMail Server.

Client configuration
===================
1) You must have installed SmarterMail Mail Server 5.x or above

Server configuration
====================
1) Put the script files in the appropiate directory on the server. If you compile from source, it should be /usr/local/nagios/libexec.

2) You must have installed PHP 5.2 or above and PHP-SOAP library

3) Be sure you can connect to SmarterMail Webservice client from server

4) Create command in the configuration file:

define command {
command_name check_queue_sm
command_line $USER1$/check_queue_sm -H=$HOSTADDRESS$ -P=$ARG1$ -p=$ARG2$ -w=$ARG3$ -c=$ARG4$
}

5) Edit your services configuration and add a check_command directive:

check_command check_queue_sm!PORT!PASSWORD!WARNING_VALUE!CRITICAL_VALUE

Example:

check_command check_queue_sm!80!password!200!400

* PORT - 80: port where the SmarterMail Webservice is listening
* PASSWORD - password: SmarterMail admin password
* WARNING_VALUE - 200: value when receive a warning alert
* CRITICAL_VALUE - 400: value when receive a critical alert

6) Check and reload configuration:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

/etc/init.d/nagios reload