Debian Codegraph @

check_email_delivery/src/docs/check_email_delivery.html

raw symbols SCIP
1 <?xml version="1.0" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>check_email_delivery - sends email and verifies delivery</title>
6 <link rel="stylesheet" href="plainwhite.css" type="text/css" />
7 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
8 <link rev="made" href="mailto:[email protected]" />
9 </head>
10
11 <body>
12
13
14 <!-- INDEX BEGIN -->
15 <div name="index">
16 <p><a name="__index__"></a></p>
17 <!--
18
19 <ul>
20
21 <li><a href="#name">NAME</a></li>
22 <li><a href="#synopsis">SYNOPSIS</a></li>
23 <li><a href="#options">OPTIONS</a></li>
24 <li><a href="#examples">EXAMPLES</a></li>
25 <ul>
26
27 <li><a href="#send_a_message_with_custom_headers">Send a message with custom headers</a></li>
28 <li><a href="#set_warning_and_critical_timeouts_for_receive_plugin_only_">Set warning and critical timeouts for receive plugin only:</a></li>
29 </ul>
30
31 <li><a href="#exit_codes">EXIT CODES</a></li>
32 <li><a href="#nagios_plugin_notes">NAGIOS PLUGIN NOTES</a></li>
33 <li><a href="#changes">CHANGES</a></li>
34 <li><a href="#author">AUTHOR</a></li>
35 <li><a href="#copyright_and_license">COPYRIGHT AND LICENSE</a></li>
36 </ul>
37
38 -->
39
40
41 </div>
42 <!-- INDEX END -->
43
44 <p>
45 </p>
46 <hr />
47 <h1><a name="name">NAME</a></h1>
48 <p>check_email_delivery - sends email and verifies delivery</p>
49 <p>
50 </p>
51 <hr />
52 <h1><a name="synopsis">SYNOPSIS</a></h1>
53 <pre>
54 check_email_delivery -vV
55 check_email_delivery --usage
56 check_email_delivery --help</pre>
57 <p>
58 </p>
59 <hr />
60 <h1><a name="options">OPTIONS</a></h1>
61 <dl>
62 <dt><strong><a name="warning_seconds_smtp_seconds_imap_seconds" class="item">--warning &lt;seconds&gt;[,&lt;smtp_seconds&gt;,&lt;imap_seconds&gt;]</a></strong></dt>
63
64 <dd>
65 <p>Exit with WARNING if the most recent email found is older than &lt;seconds&gt;. The
66 optional &lt;smtp_seconds&gt; and &lt;imap_seconds&gt; parameters will be passed on to the
67 included plugins that are used for those tasks. If they are not
68 given then they will not be passed on and the default for that plugin will apply.
69 Also known as: -w &lt;seconds&gt;[,&lt;send&gt;[,&lt;recv&gt;]]</p>
70 <p>When using the --plugin option, only one parameter is supported (-w &lt;seconds&gt;) and it will apply
71 to the entire process. You can specify a warning threshold specific to each plugin in the
72 plugin command line.</p>
73 <p>When using the --plugin option, no measuring of &quot;most recent email&quot; is done because we would
74 not know how to read this information from receive plugins. This may be addressed in future versions.</p>
75 </dd>
76 <dt><strong><a name="critical_seconds_smtp_seconds_imap_seconds" class="item">--critical &lt;seconds&gt;[,&lt;smtp_seconds&gt;,&lt;imap_seconds&gt;]</a></strong></dt>
77
78 <dd>
79 <p>Exit with CRITICAL if the most recent email found is older than &lt;seconds&gt;. The
80 optional &lt;smtp_seconds&gt; and &lt;imap_seconds&gt; parameters will be passed on to the
81 included plugins that are used for those tasks. If they are not
82 given then they will not be passed on and the default for that plugin will apply.
83 Also known as: -c &lt;seconds&gt;[,&lt;send&gt;[,&lt;recv&gt;]]</p>
84 <p>When using the --plugin option, only one parameter is supported (-c &lt;seconds&gt;) and it will apply
85 to the entire process. You can specify a critical threshold specific to each plugin in the
86 plugin command line.</p>
87 <p>When using the --plugin option, no measuring of &quot;most recent email&quot; is done because we would
88 not know how to read this information from receive plugins. This may be addressed in future versions.</p>
89 </dd>
90 <dt><strong><a name="timeout_seconds" class="item">--timeout &lt;seconds&gt;</a></strong></dt>
91
92 <dt><strong><a name="timeout_smtp_seconds_imap_seconds" class="item">--timeout &lt;smtp_seconds&gt;,&lt;imap_seconds&gt;</a></strong></dt>
93
94 <dt><strong><a name="timeout_plugin1_seconds_plugin2_seconds" class="item">--timeout &lt;plugin1_seconds&gt;,&lt;plugin2_seconds&gt;,...</a></strong></dt>
95
96 <dd>
97 <p>Exit with CRITICAL if the plugins do not return a status within the specified number of seconds.
98 When only one parameter is used, it applies to each plugin. When multiple parameters are used
99 (separated by commas) they apply to plugins in the same order the plugins were specified on the
100 command line. When using --timeout but not the --plugin option, the first parameter is for
101 check_smtp_send and the second is for check_imap_receive.</p>
102 </dd>
103 <dt><strong><a name="alert_pluginn" class="item">--alert &lt;pluginN&gt;</a></strong></dt>
104
105 <dd>
106 <p>Exit with WARNING or CRITICAL only if a warning or error (--warning, --critical, or --timeout)
107 occurs for specified plugins. If a warning or error occurs for non-specified plugins that run
108 BEFORE the specified plugins, the exit status will be UNKNOWN. If a warning of error occurs
109 for non-specified plugins that run AFTER the specified plugins, the exit status will not be
110 affected.</p>
111 <p>You would use this option if you are using check_email_delivery with the --plugin option and
112 the plugins you configure each use different servers, for example different SMTP and IMAP servers.
113 By default, if you do not use the --alert option, if anything goes wrong during the email delivery
114 check, a WARNING or CRITICAL alert will be issued. This means that if you define check_email_delivery
115 for the SMTP server only and the IMAP server fails, Nagios will alert you for the SMTP server which
116 would be misleading. If you define it for both the SMTP server and IMAP server and just one of them
117 fails, Nagios will alert you for both servers, which would still be misleading. If you have this
118 situation, you may want to use the --alert option. You define the check_email_delivery check for
119 both servers: for the SMTP server (first plugin) you use --alert 1, and for for the IMAP server
120 (second plugin) you use --alert 2. When check_email_delivery runs with --alert 1 and the SMTP
121 server fails, you will get the appropriate alert. If the IMAP server fails it will not affect the
122 status. When check_email_delivery runs with --alert 2 and the SMTP server fails, you will get the
123 UNKNOWN return code. If the IMAP server generates an alert you will get a WARNING or CRITICAL as
124 appropriate.</p>
125 <p>You can repeat this option to specify multiple plugins that should cause an alert.
126 Do this if you have multiple plugins on the command line but some of them involve the same server.</p>
127 <p>See also: --plugin.
128 Also known as: -A &lt;pluginN&gt;</p>
129 </dd>
130 <dt><strong><a name="wait_seconds_seconds" class="item">--wait &lt;seconds&gt;[,&lt;seconds&gt;,...]</a></strong></dt>
131
132 <dd>
133 <p>How long to wait between sending the message and checking that it was received. View default with
134 the -vV option.</p>
135 <p>When using the --plugin option, you can specify as many wait-between times as you have plugins
136 (minus the last plugin, because it makes no sense to wait after running the last one). For
137 example, if you use the --plugin option twice to specify an SMTP plugin and an IMAP plugin, and
138 you want to wait 5 seconds between sending and receiving, then you would specify --wait 5. A second
139 example, if you are using the --plugin option three times, then specifying -w 5 will wait 5 seconds
140 between the second and third plugins also. You can specify a different wait time
141 of 10 seconds between the second and third plugins, like this: -w 5,10.</p>
142 </dd>
143 <dt><strong><a name="hostname_server" class="item">--hostname &lt;server&gt;</a></strong></dt>
144
145 <dd>
146 <p>Address or name of the SMTP and IMAP server. Examples: mail.server.com, localhost, 192.168.1.100.
147 Also known as: -H &lt;server&gt;</p>
148 </dd>
149 <dt><strong><a name="smtp_server_server" class="item">--smtp-server &lt;server&gt;</a></strong></dt>
150
151 <dd>
152 <p>Address or name of the SMTP server. Examples: smtp.server.com, localhost, 192.168.1.100.
153 Using this option overrides the hostname option.</p>
154 </dd>
155 <dt><strong><a name="smtp_port_number" class="item">--smtp-port &lt;number&gt;</a></strong></dt>
156
157 <dd>
158 <p>Service port on the SMTP server. Default is 25.</p>
159 </dd>
160 <dt><strong><a name="smtp_username_username" class="item">--smtp-username &lt;username&gt;</a></strong></dt>
161
162 <dt><strong><a name="smtp_password_password" class="item">--smtp-password &lt;password&gt;</a></strong></dt>
163
164 <dd>
165 <p>Username and password to use when connecting to the SMTP server with the TLS option.
166 Use these options if the SMTP account has a different username/password than the
167 IMAP account you are testing. These options take precendence over the --username and
168 the --password options.</p>
169 <p>These are shell-escaped; special characters are ok.</p>
170 </dd>
171 <dt><strong><a name="imap_server_server" class="item">--imap-server &lt;server&gt;</a></strong></dt>
172
173 <dd>
174 <p>Address or name of the IMAP server. Examples: imap.server.com, localhost, 192.168.1.100.
175 Using this option overrides the hostname option.</p>
176 </dd>
177 <dt><strong><a name="imap_port_number" class="item">--imap-port &lt;number&gt;</a></strong></dt>
178
179 <dd>
180 <p>Service port on the IMAP server. Default is 143. If you use SSL the default is 993.</p>
181 </dd>
182 <dt><strong><a name="imap_username_username" class="item">--imap-username &lt;username&gt;</a></strong></dt>
183
184 <dt><strong><a name="imap_password_password" class="item">--imap-password &lt;password&gt;</a></strong></dt>
185
186 <dd>
187 <p>Username and password to use when connecting to the IMAP server.
188 Use these options if the IMAP account has a different username/password than the
189 SMTP account you are testing. These options take precendence over the --username and
190 the --password options.</p>
191 <p>These are shell-escaped; special characters are ok.</p>
192 </dd>
193 <dt><strong><a name="username_username" class="item">--username &lt;username&gt;</a></strong></dt>
194
195 <dt><strong><a name="password_password" class="item">--password &lt;password&gt;</a></strong></dt>
196
197 <dd>
198 <p>Username and password to use when connecting to IMAP server.
199 Also known as: -U &lt;username&gt; -P &lt;password&gt;</p>
200 <p>Also used as the username and password for SMTP when the TLS option is enabled.
201 To specify a separate set of credentials for SMTP authentication, see the
202 options --smtp-username and --smtp-password.</p>
203 </dd>
204 <dt><strong><a name="imap_check_interval_seconds" class="item">--imap-check-interval &lt;seconds&gt;</a></strong></dt>
205
206 <dd>
207 <p>How long to wait between polls of the imap-server for the specified mail. Default is 5 seconds.</p>
208 </dd>
209 <dt><strong><a name="imap_retries_times" class="item">--imap-retries &lt;times&gt;</a></strong></dt>
210
211 <dd>
212 <p>How many times to poll the imap-server for the mail, before we give up. Default is 10.</p>
213 </dd>
214 <dt><strong><a name="body_message" class="item">--body &lt;message&gt;</a></strong></dt>
215
216 <dd>
217 <p>Use this option to specify the body of the email message.</p>
218 </dd>
219 <dt><strong><a name="header_header" class="item">--header &lt;header&gt;</a></strong></dt>
220
221 <dd>
222 <p>Use this option to set an arbitrary header in the message. You can use it multiple times.</p>
223 </dd>
224 <dt><strong><a name="mailto_recipient_your_net" class="item">--mailto <a href="mailto:[email protected]">[email protected]</a></a></strong></dt>
225
226 <dd>
227 <p>You can send a message to multiple recipients by repeating this option or by separating
228 the email addresses with commas (no whitespace allowed):</p>
229 <p>$ check_email_delivery ... --mailto <a href="mailto:[email protected],[email protected]">[email protected],[email protected]</a> --mailfrom <a href="mailto:[email protected]">[email protected]</a></p>
230 <p>This argument is shell-escaped; special characters or angle brackets around the address are ok.</p>
231 </dd>
232 <dt><strong><a name="mailfrom_sender_your_net" class="item">--mailfrom <a href="mailto:[email protected]">[email protected]</a></a></strong></dt>
233
234 <dd>
235 <p>Use this option to set the &quot;from&quot; address in the email.</p>
236 </dd>
237 <dt><strong><a name="imapssl_item_noimapssl" class="item">--imapssl
238 =item --noimapssl</a></strong></dt>
239
240 <dd>
241 <p>Use this to enable or disable SSL for the IMAP plugin.</p>
242 <p>This argument is shell-escaped; special characters or angle brackets around the address are ok.</p>
243 </dd>
244 <dt><strong><a name="smtptls_item_nosmtptls" class="item">--smtptls
245 =item --nosmtptls</a></strong></dt>
246
247 <dd>
248 <p>Use this to enable or disable TLS/AUTH for the SMTP plugin.</p>
249 </dd>
250 <dt><strong><a name="libexec" class="item">--libexec</a></strong></dt>
251
252 <dd>
253 <p>Use this option to set the path of the Nagios libexec directory. The default is
254 /usr/local/nagios/libexec. This is where this plugin looks for the SMTP and IMAP
255 plugins that it depends on.</p>
256 </dd>
257 <dt><strong><a name="plugin_command" class="item">--plugin &lt;command&gt;</a></strong></dt>
258
259 <dd>
260 <p>This is a new option introduced in version 0.5 of the check_email_delivery plugin.
261 It frees the plugin from depending on specific external plugins and generalizes the
262 work done to determine that the email loop is operational. When using the --plugin
263 option, the following options are ignored: libexec, imapssl, smtptls, hostname,
264 username, password, smtp*, imap*, mailto, mailfrom, body, header, search.</p>
265 <p>Use this option multiple times to specify the complete trip. Typically, you would use
266 this twice to specify plugins for SMTP and IMAP, or SMTP and POP3.</p>
267 <p>The output will be success if all the plugins return success. Each plugin should be a
268 standard Nagios plugin.</p>
269 <p>A random token will be automatically generated and passed to each plugin specified on
270 the command line by substituting the string %TOKEN1%.</p>
271 <p>Example usage:</p>
272 <pre>
273 command_name check_email_delivery
274 command_line check_email_delivery
275 --plugin &quot;$USER1$/check_smtp_send -H $ARG1$ --mailto [email protected] --mailfrom [email protected] --header 'Subject: Nagios Test %TOKEN1%.'&quot;
276 --plugin &quot;$USER1$/check_imap_receive -H $ARG1$ -U $ARG1$ -P $ARG2$ -s SUBJECT -s 'Nagios Test %TOKEN1%.'&quot;</pre>
277 <p>This technique allows for a lot of flexibility in configuring the plugins that test
278 each part of your email delivery loop.</p>
279 <p>See also: --token.
280 Also known as: -p &lt;command&gt;</p>
281 </dd>
282 <dt><strong><a name="token_format" class="item">--token &lt;format&gt;</a></strong></dt>
283
284 <dd>
285 <p>This is a new option introduced in version 0.5 of the check_email_delivery plugin.
286 It can be used in conjunction with --plugin to control the tokens that are generated
287 and passed to the plugins, like %TOKEN1%.</p>
288 <p>Use this option multiple times to specify formats for different tokens. For example,
289 if you want %TOKEN1% to consist of only alphabetical characters but want %TOKEN2% to
290 consist of only digits, then you might use these options: --token aaaaaa --token nnnnn</p>
291 <p>Any tokens used in your plugin commands that have not been specified by --token &lt;format&gt;
292 will default to --token U-X-Y</p>
293 <p>Token formats:
294 a - alpha character (a-z)
295 n - numeric character (0-9)
296 c - alphanumeric character (a-z0-9)
297 h - hexadecimal character (0-9a-f)
298 U - unix time, seconds from epoch. eg 1193012441
299 X - a word from the pgp even list. eg aardvark
300 Y - a word from the pgp odd list. eg adroitness</p>
301 <p>Caution: It has been observed that some IMAP servers do not handle underscores well in the
302 search criteria. For best results, avoid using underscores in your tokens. Use hyphens or commas instead.</p>
303 <p>See also: --plugin.
304 Also known as: -T &lt;format&gt;</p>
305 <p>The PGP word list was obtained from <a href="http://en.wikipedia.org/wiki/PGP_word_list">http://en.wikipedia.org/wiki/PGP_word_list</a></p>
306 </dd>
307 <dt><strong><a name="file_file" class="item">--file &lt;file&gt;</a></strong></dt>
308
309 <dd>
310 <p>Save (append) status information into the given tab-delimited file. Format used:</p>
311 <pre>
312 token start-time end-time status plugin-num output</pre>
313 <p>Note: format may change in future versions and may become configurable.</p>
314 <p>This option available as of version 0.6.2.</p>
315 <p>Also known as: -F &lt;file&gt;</p>
316 </dd>
317 <dt><strong><a name="hires" class="item">--hires</a></strong></dt>
318
319 <dd>
320 <p>Use the Time::HiRes module to measure time, if available.</p>
321 </dd>
322 <dt><strong><a name="verbose" class="item">--verbose</a></strong></dt>
323
324 <dd>
325 <p>Display additional information. Useful for troubleshooting. Use together with --version to see the default
326 warning and critical timeout values.
327 Also known as: -v</p>
328 </dd>
329 <dt><strong><a name="version" class="item">--version</a></strong></dt>
330
331 <dd>
332 <p>Display plugin version and exit.
333 Also known as: -V</p>
334 </dd>
335 <dt><strong><a name="help" class="item">--help</a></strong></dt>
336
337 <dd>
338 <p>Display this documentation and exit. Does not work in the ePN version.
339 Also known as: -h</p>
340 </dd>
341 <dt><strong><a name="usage" class="item">--usage</a></strong></dt>
342
343 <dd>
344 <p>Display a short usage instruction and exit.</p>
345 </dd>
346 </dl>
347 <p>
348 </p>
349 <hr />
350 <h1><a name="examples">EXAMPLES</a></h1>
351 <p>
352 </p>
353 <h2><a name="send_a_message_with_custom_headers">Send a message with custom headers</a></h2>
354 <p>$ check_email_delivery -H mail.server.net --mailto <a href="mailto:[email protected]">[email protected]</a> --mailfrom <a href="mailto:[email protected]">[email protected]</a>
355 --username recipient --password secret</p>
356 <p>EMAIL DELIVERY OK - 1 seconds</p>
357 <p>
358 </p>
359 <h2><a name="set_warning_and_critical_timeouts_for_receive_plugin_only_">Set warning and critical timeouts for receive plugin only:</a></h2>
360 <p>$ check_email_delivery -H mail.server.net --mailto <a href="mailto:[email protected]">[email protected]</a> --mailfrom <a href="mailto:[email protected]">[email protected]</a>
361 --username recipient --password secret -w ,,5 -c ,,15</p>
362 <p>EMAIL DELIVERY OK - 1 seconds</p>
363 <p>
364 </p>
365 <hr />
366 <h1><a name="exit_codes">EXIT CODES</a></h1>
367 <p><table cellspacing="0" cellpadding="0"><tr><td>Complies with the Nagios plug-in specification:
368 <tr><td> 0<td>OK<td>The plugin was able to check the service and it appeared to be functioning properly
369 <tr><td> 1<td>Warning<td>The plugin was able to check the service, but it appeared to be above some &quot;warning&quot; threshold or did not appear to be working properly
370 <tr><td> 2<td>Critical<td>The plugin detected that either the service was not running or it was above some &quot;critical&quot; threshold
371 <tr><td> 3<td>Unknown<td>Invalid command line arguments were supplied to the plugin or the plugin was unable to check the status of the given hosts/service</table></p>
372 <p>
373 </p>
374 <hr />
375 <h1><a name="nagios_plugin_notes">NAGIOS PLUGIN NOTES</a></h1>
376 <p>Nagios plugin reference: <a href="http://nagiosplug.sourceforge.net/developer-guidelines.html">http://nagiosplug.sourceforge.net/developer-guidelines.html</a></p>
377 <p>This plugin does NOT use Nagios DEFAULT_SOCKET_TIMEOUT (provided by utils.pm as $TIMEOUT) because
378 the path to utils.pm must be specified completely in this program and forces users to edit the source
379 code if their install location is different (if they realize this is the problem). You can view
380 the default timeout for this module by using the --verbose and --version options together. The
381 short form is -vV.</p>
382 <p>Other than that, it attempts to follow published guidelines for Nagios plugins.</p>
383 <p>
384 </p>
385 <hr />
386 <h1><a name="changes">CHANGES</a></h1>
387 <pre>
388 Wed Oct 29 13:08:00 PST 2005
389 + version 0.1</pre>
390 <pre>
391 Wed Nov 9 17:16:09 PST 2005
392 + updated arguments to check_smtp_send and check_imap_receive
393 + added eval/alarm block to implement -c option
394 + added wait option to adjust sleep time between smtp and imap calls
395 + added delay-warn and delay-crit options to adjust email delivery warning thresholds
396 + now using an inline PluginReport package to generate the report
397 + copyright notice and GNU GPL
398 + version 0.2</pre>
399 <pre>
400 Thu Apr 20 14:00:00 CET 2006 (by Johan Nilsson &lt;johann (at) axis.com&gt;)
401 + version 0.2.1
402 + corrected bug in getoptions ($imap_server would never ever be set from command-line...)
403 + will not make $smtp_server and $imap_server == $host if they're defined on commandline
404 + added support for multiple polls of imap-server, with specified intervals
405 + changed default behaviour in check_imap_server (searches for the specific id in subject and deletes mails found)
406 + increased default delay_warn from 65 seconds to 95 seconds</pre>
407 <pre>
408 Thu Apr 20 16:00:00 PST 2006 (by Geoff Crompton &lt;[email protected]&gt;)
409 + fixed a bug in getoptions
410 + version 0.2.2</pre>
411 <pre>
412 Tue Apr 24 21:17:53 PDT 2007
413 + now there is an alternate version (same but without embedded perl POD) that is compatible with the new new embedded-perl Nagios feature
414 + version 0.2.3</pre>
415 <pre>
416 Fri Apr 27 20:32:53 PDT 2007
417 + documentation now mentions every command-line option accepted by the plugin, including abbreviations
418 + changed connection error to display timeout only if timeout was the error
419 + default IMAP plugin is libexec/check_imap_receive (also checking for same but with .pl extension)
420 + default SMTP plugin is libexec/check_smtp_send (also checking for same but with .pl extension)
421 + removed default values for SMTP port and IMAP port to allow those plugins to set the defaults; so current behavior stays the same and will continue to make sense with SSL
422 + version 0.3</pre>
423 <pre>
424 Thu Oct 11 10:00:00 EET 2007 (by Timo Virtaneva &lt;timo (at) virtaneva dot com&gt;
425 + Changed the header and the search criteria so that the same email-box can be used for all smtp-servers
426 + version 0.3.1</pre>
427 <pre>
428 Sun Oct 21 11:01:03 PDT 2007
429 + added support for TLS options to the SMTP plugin
430 + version 0.4</pre>
431 <pre>
432 Sun Oct 21 16:17:14 PDT 2007
433 + added support for arbitrary plugins to send and receive mail (or anthing else!). see the --plugin option.
434 + version 0.5</pre>
435 <pre>
436 Tue Dec 4 07:36:20 PST 2007
437 + added --usage option because the official nagios plugins have both --help and --usage
438 + added --timeout option to match the official nagios plugins
439 + shortcut option for --token is now -T to avoid clash with standard shortcut -t for --timeout
440 + fixed some minor pod formatting issues for perldoc
441 + version 0.5.1</pre>
442 <pre>
443 Sat Dec 15 07:39:59 PST 2007
444 + improved compatibility with Nagios embedded perl (ePN)
445 + version 0.5.2</pre>
446 <pre>
447 Thu Jan 17 20:27:36 PST 2008 (by Timo Virtaneva &lt;timo (at) virtaneva dot com&gt; on Thu Oct 11 10:00:00 EET 2007)
448 + Changed the header and the search criteria so that the same email-box can be used for all smtp-servers
449 + version 0.5.3</pre>
450 <pre>
451 Mon Jan 28 22:11:02 PST 2008
452 + fixed a bug, smtp-password and imap-password are now string parameters
453 + added --alert option to allow selection of which plugin(s) should cause a WARNING or CRITICAL alert
454 + version 0.6</pre>
455 <pre>
456 Mon Feb 11 19:09:37 PST 2008
457 + fixed a bug for embedded perl version, variable &quot;%status&quot; will not stay shared in load_modules
458 + version 0.6.1</pre>
459 <pre>
460 Mon May 26 10:39:19 PDT 2008
461 + added --file option to allow plugin to record status information into a tab-delimited file
462 + changed default token from U_X_Y to U-X-Y
463 + version 0.6.2</pre>
464 <pre>
465 Wed Jan 14 08:29:35 PST 2009
466 + fixed a bug that the --header parameter was not being passed to the smtp plugin.
467 + version 0.6.3</pre>
468 <pre>
469 Mon Jun 8 15:43:48 PDT 2009
470 + added performance data for use with PNP4Nagios! (thanks to Ben Ritcey for the patch)
471 + version 0.6.4</pre>
472 <pre>
473 Wed Sep 16 07:10:10 PDT 2009
474 + added elapsed time in seconds to performance data
475 + version 0.6.5</pre>
476 <pre>
477 Fri Oct 8 19:48:44 PDT 2010
478 + fixed uniform IMAP and SMTP username and password bug (thanks to Micle Moerenhout for pointing it out)
479 + version 0.6.6</pre>
480 <pre>
481 Mon Jan 3 08:24:23 PST 2011
482 + added shell escaping for smtp-username, smtp-password, mailto, mailfrom, imap-username, and imap-password arguments
483 + version 0.7.0</pre>
484 <pre>
485 Fri May 6 08:35:09 AST 2011
486 + added --hires option to enable use of Time::Hires if available
487 + version 0.7.1</pre>
488 <pre>
489 Sun Jun 12 17:17:06 AST 2011
490 + added --imap-mailbox option to pass through to check_imap_receive --mailbox option
491 + added --ssl option to conveniently enable both --smtp-tls and --imap-ssl
492 + version 0.7.2</pre>
493 <p>
494 </p>
495 <hr />
496 <h1><a name="author">AUTHOR</a></h1>
497 <p>Jonathan Buhacoff &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</p>
498 <p>
499 </p>
500 <hr />
501 <h1><a name="copyright_and_license">COPYRIGHT AND LICENSE</a></h1>
502 <pre>
503 Copyright (C) 2005-2011 Jonathan Buhacoff</pre>
504 <pre>
505 This program is free software; you can redistribute it and/or modify
506 it under the terms of the GNU General Public License as published by
507 the Free Software Foundation; either version 3 of the License, or
508 (at your option) any later version.</pre>
509 <pre>
510 This program is distributed in the hope that it will be useful,
511 but WITHOUT ANY WARRANTY; without even the implied warranty of
512 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
513 GNU General Public License for more details.</pre>
514 <pre>
515 You should have received a copy of the GNU General Public License
516 along with this program. If not, see &lt;<a href="http://www.gnu.org/licenses/&gt">http://www.gnu.org/licenses/&gt</a>;.</pre>
517 <pre>
518 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></pre>
519
520 </body>
521
522 </html>