[PATCH] check_smtp.c - float warn/crit thresholds

Ignacio Goyret igoyret at alcatel-lucent.com
Tue Nov 18 20:14:43 CET 2008


Hi all,
The attached patched allows check_smtp.c to accept double (floating
point) values for warning and critical thresholds. Previously, it
only accepted integers.

Note that the help message (check_smtp -h) indicated that these
parameters were supposed to be DOUBLE so this change makes it
consistent.

Cheers,
-Ignacio

PS: The attached patch is svn-based. I found the issue on
nagios-plugins-1.4.13.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugins-svn-trunk-check_smtp.u
Type: application/octet-stream
Size: 1803 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081118/860ce134/attachment.obj>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list