Sven Nierlein
7660540c31
make constants from maxfd values ( #1300 )
...
its good practice to use constants instead of (random) values.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-11-28 15:25:43 +01:00
nafets
6bb5e1db52
avoid a segfault, if ulimit is set to unlimited
2014-11-28 15:21:23 +01:00
Spenser Reinhardt
9123f6146c
lib/utils_cmd.c - Free file descriptor
...
Coverity 66502 - File descriptor fd in cmd_file_read is never closed, and thus file is left open after usage throughout runtime. - SR
2014-06-28 18:24:46 +02:00
Monitoring Plugins Development Team
63734f52ab
Project rename initial commit.
...
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
2014-01-19 14:18:47 -05:00
Thomas Guyot-Sionnest
cf2bcf6c7a
Fix cmd_run overwriting the environment
...
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.
2010-07-02 12:55:19 -04:00
Thomas Guyot-Sionnest
6fbd14fea5
Removing CVS/SVN tags and replacing with git-based versioning
...
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-23 05:38:47 +00:00
Ton Voon
b93562e6e2
check_procs captures stderr and adds to plugin output. This is
...
from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2019 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08 09:31:04 +00:00
Thomas Guyot-Sionnest
fafb8ead9d
Bump /lib to GPLv3
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1913 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30 09:33:43 +00:00
Ton Voon
8a39526e1b
Stop double expansion of parameters for negate - works like
...
time command now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21 23:01:28 +00:00