<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/lib, branch release-1.5</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=release-1.5</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=release-1.5'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2013-09-12T19:50:18Z</updated>
<entry>
<title>Minor cosmetic changes</title>
<updated>2013-09-12T19:50:18Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2013-09-12T19:50:18Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7573aa16169e80baec80440463a524e5f4e92911'/>
<id>urn:sha1:7573aa16169e80baec80440463a524e5f4e92911</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_tcp: Properly deal will partial recv(3)s</title>
<updated>2013-09-12T19:37:20Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2013-09-12T19:37:20Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e8044713d41f5ef1d9ce814df4a079d8f92306b0'/>
<id>urn:sha1:e8044713d41f5ef1d9ce814df4a079d8f92306b0</id>
<content type='text'>
The np_expect_match() function now returns one of three possible states
instead of just TRUE or FALSE:

- NP_MATCH_SUCCESS
- NP_MATCH_FAILURE
- NP_MATCH_RETRY

The NP_MATCH_RETRY state indicates that matching might succeed if
np_expect_match() is called with a longer input string.  This allows
check_tcp to decide whether it makes sense to wait for additional data
from the server.
</content>
</entry>
<entry>
<title>Improve interface of np_expect_match() function</title>
<updated>2013-09-12T15:42:10Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2013-09-12T15:42:10Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=662997251d4fc43f4155784f9e7df827f193305e'/>
<id>urn:sha1:662997251d4fc43f4155784f9e7df827f193305e</id>
<content type='text'>
Replace the three boolean parameters of lib/utils_tcp.c's
np_expect_match() function with a single "flags" parameter.
</content>
</entry>
<entry>
<title>Fix GCC's -Wimplicit-function-declaration warnings</title>
<updated>2013-09-10T20:29:46Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2013-09-10T20:29:46Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b48cb1f130cda9818d06aaf74cdc7d2aef13bf42'/>
<id>urn:sha1:b48cb1f130cda9818d06aaf74cdc7d2aef13bf42</id>
<content type='text'>
Fix the issues found by GCC when the -Wimplicit-function-declaration
flag is specified.
</content>
</entry>
<entry>
<title>Fix GCC's -Wuninitialized warnings</title>
<updated>2013-09-10T18:52:13Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2013-09-10T18:52:13Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d4a781817cbe1c6168e0687aea968b7a6f348abe'/>
<id>urn:sha1:d4a781817cbe1c6168e0687aea968b7a6f348abe</id>
<content type='text'>
Fix the issues found by GCC when the -Wuninitialized flag is specified.
</content>
</entry>
<entry>
<title>added missing header to fix build on freebsd</title>
<updated>2013-08-20T15:02:02Z</updated>
<author>
<name>Sven Nierlein</name>
<email>Sven.Nierlein@consol.de</email>
</author>
<published>2013-08-20T15:01:52Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4083622f86e1fe0fef1e81f23a2ca7a4614ea481'/>
<id>urn:sha1:4083622f86e1fe0fef1e81f23a2ca7a4614ea481</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding tests for range @1:1</title>
<updated>2013-08-17T15:19:34Z</updated>
<author>
<name>Dominique Broeglin</name>
<email>dominique.broeglin@gmail.com</email>
</author>
<published>2013-01-26T20:30:55Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=30bf8025d2ccb7c1fdcf4f69ed543cba4e753625'/>
<id>urn:sha1:30bf8025d2ccb7c1fdcf4f69ed543cba4e753625</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/utils_base.c: Stop dumping core on bad args to check_snmp</title>
<updated>2012-11-03T02:25:37Z</updated>
<author>
<name>Andreas Ericsson</name>
<email>ae@op5.se</email>
</author>
<published>2012-11-02T13:51:09Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=364ce21b1048d1125b8d3fd6744661ab581d08c7'/>
<id>urn:sha1:364ce21b1048d1125b8d3fd6744661ab581d08c7</id>
<content type='text'>
Since the state patch introduction, we've been freeing uninitialized
memory in lib/utils_base.c::np_cleanup(), which caused coredumps
with check_snmp when illegal threshold ranges (for example) were
passed, or when we called 'die' without having read any state.

This patch fixes it by replacing the malloc() calls in there (all of
them, since using malloc() is almost always an error) with calloc().

malloc() either doesn't initialize the memory at all, or taints it
with a special marker so it can tell us when we're free()'ing memory
that hasn't been initialized. calloc() explicitly initializes the
allocated memory to nul bytes, which is a zero-cost operation when
we get the memory from the kernel (which alread does that) and almost
always desirable everywhere else.

Signed-off-by: Andreas Ericsson &lt;ae@op5.se&gt;
</content>
</entry>
<entry>
<title>Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603)</title>
<updated>2010-11-15T22:59:35Z</updated>
<author>
<name>Matthias Eble</name>
<email>psychotrahe@users.sourceforge.net</email>
</author>
<published>2010-11-15T22:59:35Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=77f2c84d2f599d86a60586494169dcab17853e3a'/>
<id>urn:sha1:77f2c84d2f599d86a60586494169dcab17853e3a</id>
<content type='text'>
Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in
the parameter_list structure. Assignments have been moved to a subroutine preventing
code redundancies.
Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation
when blocksizes differ within a group.
</content>
</entry>
<entry>
<title>Fix cmd_run overwriting the environment</title>
<updated>2010-07-02T16:55:19Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2010-07-02T16:55:19Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852'/>
<id>urn:sha1:cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852</id>
<content type='text'>
Some commands need the environment to function properly. One such
example is check_ssh and check_by_ssh when a SOCKS proxy is required.

This patch use setenv and extern char **environ to alter and pass the
new environment to the child process Those modules have been added to
Gnulib for portability.
</content>
</entry>
</feed>
