Others

Check SmarterMail Queue – check_queue_sm

Description:

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

Current Version

1.0

Last Release Date

2016-08-11

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

License

GPL


Project Files
Project Notes
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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,248