Code

nagiosplug.git
21 years agochange exit status to be POSIX compliant
Karl DeBisschop [Mon, 13 Jan 2003 12:13:56 +0000 (12:13 +0000)]
change exit status to be POSIX compliant

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@237 f882894a-f735-0410-b71e-b25c423dba1c

21 years agocheck for a few null strings, change PROGNAME from #define to const *char
Karl DeBisschop [Mon, 13 Jan 2003 12:09:49 +0000 (12:09 +0000)]
check for a few null strings, change PROGNAME from #define to const *char

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@236 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoadd options for excluding devices and for skipping OK devices in summary
Karl DeBisschop [Mon, 13 Jan 2003 04:50:03 +0000 (04:50 +0000)]
add options for excluding devices and for skipping OK devices in summary

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@235 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoprotect against some null strings, make formats more uniform
Karl DeBisschop [Fri, 3 Jan 2003 03:24:17 +0000 (03:24 +0000)]
protect against some null strings, make formats more uniform

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@234 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoexpect is +OK for SPOP too
Karl DeBisschop [Thu, 19 Dec 2002 19:30:52 +0000 (19:30 +0000)]
expect is +OK for SPOP too

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoserver expect not getting set, expect is +OK for POP
Karl DeBisschop [Thu, 19 Dec 2002 19:29:57 +0000 (19:29 +0000)]
server expect not getting set, expect is +OK for POP

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@232 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoremove spurious CRLF
Karl DeBisschop [Thu, 19 Dec 2002 19:20:25 +0000 (19:20 +0000)]
remove spurious CRLF

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@231 f882894a-f735-0410-b71e-b25c423dba1c

21 years agoNew plugin to check the ICA browse service (used by Citrix Metaframe servers) from
Stanley Hopcroft [Fri, 29 Nov 2002 12:02:00 +0000 (12:02 +0000)]
New plugin to check the ICA browse service (used by Citrix Metaframe servers) from
Ed Rolison and Tom De Blende.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@230 f882894a-f735-0410-b71e-b25c423dba1c

21 years agowas segfaulting if no dtat was returned
Karl DeBisschop [Mon, 25 Nov 2002 12:00:17 +0000 (12:00 +0000)]
was segfaulting if no dtat was returned

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@228 f882894a-f735-0410-b71e-b25c423dba1c

21 years agosome fixes needed to move off old devel box
Karl DeBisschop [Sun, 24 Nov 2002 13:43:05 +0000 (13:43 +0000)]
some fixes needed to move off old devel box

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@227 f882894a-f735-0410-b71e-b25c423dba1c

21 years agomake routine snapshots of nagios and plugin CVS to expand testing
Karl DeBisschop [Sun, 24 Nov 2002 13:09:40 +0000 (13:09 +0000)]
make routine snapshots of nagios and plugin CVS to expand testing

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@226 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoadd replace battery condition, replace unchecked strcat calls with asprintf (I do...
Karl DeBisschop [Fri, 22 Nov 2002 10:52:18 +0000 (10:52 +0000)]
add replace battery condition, replace unchecked strcat calls with asprintf (I do not think buffer overflow was possible here, but lets be consistent)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@225 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoget long args output to work on check_procs by putting incantations with -w ahead...
Karl DeBisschop [Fri, 22 Nov 2002 02:46:49 +0000 (02:46 +0000)]
get long args output to work on check_procs by putting incantations with -w ahead of others

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@224 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoget long args output to work on linux check_procs, actually works this time (needs...
Karl DeBisschop [Fri, 22 Nov 2002 02:33:43 +0000 (02:33 +0000)]
get long args output to work on linux check_procs, actually works this time (needs OpenBSD testing)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@223 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoadd a few comments, trap a few place where a NULL string might have been handled
Karl DeBisschop [Fri, 22 Nov 2002 01:33:26 +0000 (01:33 +0000)]
add a few comments, trap a few place where a NULL string might have been handled

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@222 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoget long args output to work on linux check_procs (needs OpenBSD testing)
Karl DeBisschop [Fri, 22 Nov 2002 01:31:59 +0000 (01:31 +0000)]
get long args output to work on linux check_procs (needs OpenBSD testing)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@221 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix empty output on errors
Karl DeBisschop [Thu, 21 Nov 2002 12:40:58 +0000 (12:40 +0000)]
fix empty output on errors

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@220 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoadd switch to evaluate each swap individually
Karl DeBisschop [Wed, 20 Nov 2002 11:56:11 +0000 (11:56 +0000)]
add switch to evaluate each swap individually

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@219 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix solaris SEGV, still need to print meaningful error text
Karl DeBisschop [Wed, 20 Nov 2002 11:28:50 +0000 (11:28 +0000)]
fix solaris SEGV, still need to print meaningful error text

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@218 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoin short options, t no no argument
Karl DeBisschop [Wed, 20 Nov 2002 01:19:07 +0000 (01:19 +0000)]
in short options, t no no argument

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@217 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoreplace some strcpy with strscpy
Karl DeBisschop [Wed, 20 Nov 2002 01:09:51 +0000 (01:09 +0000)]
replace some strcpy with strscpy

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@216 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoanother try at portable symlinking
Karl DeBisschop [Tue, 19 Nov 2002 19:13:07 +0000 (19:13 +0000)]
another try at portable symlinking

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@215 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoanother try at portable symlinking
Karl DeBisschop [Tue, 19 Nov 2002 19:07:59 +0000 (19:07 +0000)]
another try at portable symlinking

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@214 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoexplicitly cast recv() arg2 for SunOS5.6
Karl DeBisschop [Tue, 19 Nov 2002 19:06:55 +0000 (19:06 +0000)]
explicitly cast recv() arg2 for SunOS5.6

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@213 f882894a-f735-0410-b71e-b25c423dba1c

22 years agorewrite of install-exec-hook for solaris
Karl DeBisschop [Tue, 19 Nov 2002 07:13:49 +0000 (07:13 +0000)]
rewrite of install-exec-hook for solaris

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@212 f882894a-f735-0410-b71e-b25c423dba1c

22 years agojavaproc, sendim
Subhendu Ghosh [Mon, 18 Nov 2002 21:58:58 +0000 (21:58 +0000)]
javaproc, sendim

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@211 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoNew directory to for perfdata and reporting scripts
Subhendu Ghosh [Mon, 18 Nov 2002 14:46:41 +0000 (14:46 +0000)]
New directory to for perfdata and reporting scripts

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@210 f882894a-f735-0410-b71e-b25c423dba1c

22 years agotest total swap instead of individual disks
Karl DeBisschop [Mon, 18 Nov 2002 11:24:00 +0000 (11:24 +0000)]
test total swap instead of individual disks

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@209 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofailed to handle multple disks
Karl DeBisschop [Mon, 18 Nov 2002 07:23:15 +0000 (07:23 +0000)]
failed to handle multple disks

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@208 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomore readable max_state() code
Karl DeBisschop [Mon, 18 Nov 2002 07:22:28 +0000 (07:22 +0000)]
more readable max_state() code

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@207 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix too many sources problem for programs tha are symlinks to check_tcp
Karl DeBisschop [Sat, 16 Nov 2002 12:57:54 +0000 (12:57 +0000)]
fix too many sources problem for programs tha are symlinks to check_tcp

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@206 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomy take on Subhendu's patches, plus a few comments for clarity
Karl DeBisschop [Sat, 16 Nov 2002 04:59:35 +0000 (04:59 +0000)]
my take on Subhendu's patches, plus a few comments for clarity

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@205 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomemory bounds in options, no output comparison case
Subhendu Ghosh [Fri, 15 Nov 2002 17:47:03 +0000 (17:47 +0000)]
memory bounds in options, no output comparison case

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@204 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomake spec work again, now that release is in source name again
Karl DeBisschop [Fri, 15 Nov 2002 04:51:57 +0000 (04:51 +0000)]
make spec work again, now that release is in source name again

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@203 f882894a-f735-0410-b71e-b25c423dba1c

22 years agorelease numbering fix
Karl DeBisschop [Fri, 15 Nov 2002 00:51:38 +0000 (00:51 +0000)]
release numbering fix

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@202 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix label handling, replace accidentally deleted elseif l.310
Karl DeBisschop [Fri, 15 Nov 2002 00:50:19 +0000 (00:50 +0000)]
fix label handling, replace accidentally deleted elseif l.310

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@201 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix bug with gettimeofday test, improve version/release handling, update rpm spec
Karl DeBisschop [Thu, 14 Nov 2002 18:25:10 +0000 (18:25 +0000)]
fix bug with gettimeofday test, improve version/release handling, update rpm spec

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@200 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix typo in snprintf build
Karl DeBisschop [Thu, 14 Nov 2002 18:23:24 +0000 (18:23 +0000)]
fix typo in snprintf build

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@199 f882894a-f735-0410-b71e-b25c423dba1c

22 years agocan't drop these sources -- neded for dist
Karl DeBisschop [Thu, 14 Nov 2002 05:36:24 +0000 (05:36 +0000)]
can't drop these sources -- neded for dist

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@198 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofix build rule for snprintf
Karl DeBisschop [Thu, 14 Nov 2002 05:27:15 +0000 (05:27 +0000)]
fix build rule for snprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@197 f882894a-f735-0410-b71e-b25c423dba1c

22 years agopagesize count off by one
Karl DeBisschop [Thu, 14 Nov 2002 05:25:44 +0000 (05:25 +0000)]
pagesize count off by one

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@196 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoclean up NULL from status on Solaris
Karl DeBisschop [Thu, 14 Nov 2002 04:45:40 +0000 (04:45 +0000)]
clean up NULL from status on Solaris

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@195 f882894a-f735-0410-b71e-b25c423dba1c

22 years agotypo in AC_DEFINE of PS_FORMAT for solaris
Karl DeBisschop [Thu, 14 Nov 2002 04:00:34 +0000 (04:00 +0000)]
typo in AC_DEFINE of PS_FORMAT for solaris

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@194 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove check_nt again
Karl DeBisschop [Thu, 14 Nov 2002 03:37:01 +0000 (03:37 +0000)]
remove check_nt again

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@193 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoback out last change -- it was only work in progress
Karl DeBisschop [Thu, 14 Nov 2002 03:09:00 +0000 (03:09 +0000)]
back out last change -- it was only work in progress

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@192 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt and ssprintf
Karl DeBisschop [Thu, 14 Nov 2002 02:26:34 +0000 (02:26 +0000)]
remove call_getopt and ssprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@191 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt and asprintf
Karl DeBisschop [Wed, 13 Nov 2002 11:50:54 +0000 (11:50 +0000)]
remove call_getopt and asprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c

22 years agocleanup asprintf, old function decls
Karl DeBisschop [Tue, 12 Nov 2002 11:28:58 +0000 (11:28 +0000)]
cleanup asprintf, old function decls

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@189 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt
Karl DeBisschop [Tue, 12 Nov 2002 11:26:01 +0000 (11:26 +0000)]
remove call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@188 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoshould use asprintf
Subhendu Ghosh [Mon, 11 Nov 2002 22:15:55 +0000 (22:15 +0000)]
should use asprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@187 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomore snmpv3 patches
Subhendu Ghosh [Mon, 11 Nov 2002 20:19:01 +0000 (20:19 +0000)]
more snmpv3 patches

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@186 f882894a-f735-0410-b71e-b25c423dba1c

22 years agolong opt for miblist, snmpv3 support (rosenauer)
Subhendu Ghosh [Mon, 11 Nov 2002 19:29:19 +0000 (19:29 +0000)]
long opt for miblist, snmpv3 support (rosenauer)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@185 f882894a-f735-0410-b71e-b25c423dba1c

22 years agooption to specify a miblist - llow
Subhendu Ghosh [Mon, 11 Nov 2002 16:04:12 +0000 (16:04 +0000)]
option to specify a miblist - llow

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@184 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomisc doc fix, missing verbose option
Subhendu Ghosh [Mon, 11 Nov 2002 15:43:37 +0000 (15:43 +0000)]
misc doc fix, missing verbose option

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@183 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt
Karl DeBisschop [Sat, 9 Nov 2002 11:37:14 +0000 (11:37 +0000)]
remove call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@182 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt
Karl DeBisschop [Sat, 9 Nov 2002 04:22:22 +0000 (04:22 +0000)]
remove call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@181 f882894a-f735-0410-b71e-b25c423dba1c

22 years agocleaner handling of DEFAULT_PORT
Karl DeBisschop [Sat, 9 Nov 2002 04:21:51 +0000 (04:21 +0000)]
cleaner handling of DEFAULT_PORT

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@180 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoadd HPUX swap, try to cleanup getopt processing
Karl DeBisschop [Sat, 9 Nov 2002 03:43:12 +0000 (03:43 +0000)]
add HPUX swap, try to cleanup getopt processing

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@179 f882894a-f735-0410-b71e-b25c423dba1c

22 years agodefine and use usage3 where second part of message is a an int/char
Karl DeBisschop [Sat, 9 Nov 2002 03:39:35 +0000 (03:39 +0000)]
define and use usage3 where second part of message is a an int/char

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoHAVE_C99_SNPRINTF is not tested, so remove from ifdef
Karl DeBisschop [Sat, 9 Nov 2002 03:16:14 +0000 (03:16 +0000)]
HAVE_C99_SNPRINTF is not tested, so remove from ifdef

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@177 f882894a-f735-0410-b71e-b25c423dba1c

22 years agouser reports NULL still getting into asprintf
Karl DeBisschop [Fri, 8 Nov 2002 08:07:37 +0000 (08:07 +0000)]
user reports NULL still getting into asprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@176 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt
Karl DeBisschop [Fri, 8 Nov 2002 08:06:55 +0000 (08:06 +0000)]
remove call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@175 f882894a-f735-0410-b71e-b25c423dba1c

22 years agopatches required to build on solaris with asprintf and gettimeofday
Karl DeBisschop [Fri, 8 Nov 2002 07:20:05 +0000 (07:20 +0000)]
patches required to build on solaris with asprintf and gettimeofday

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@174 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove unused variables
Karl DeBisschop [Fri, 8 Nov 2002 07:18:49 +0000 (07:18 +0000)]
remove unused variables

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@173 f882894a-f735-0410-b71e-b25c423dba1c

22 years agosome useful onliners
Karl DeBisschop [Fri, 8 Nov 2002 07:17:59 +0000 (07:17 +0000)]
some useful onliners

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@172 f882894a-f735-0410-b71e-b25c423dba1c

22 years agobugfixes to command format and (null) text created by asprintf switch
Karl DeBisschop [Thu, 7 Nov 2002 14:30:08 +0000 (14:30 +0000)]
bugfixes to command format and (null) text created by asprintf switch

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@171 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt, add [] arougn time
Karl DeBisschop [Thu, 7 Nov 2002 07:07:17 +0000 (07:07 +0000)]
remove call_getopt, add [] arougn time

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@170 f882894a-f735-0410-b71e-b25c423dba1c

22 years agotest snprintf function family for ifdefs in snprintf.c
Karl DeBisschop [Thu, 7 Nov 2002 07:06:34 +0000 (07:06 +0000)]
test snprintf function family for ifdefs in snprintf.c

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@169 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoreplace fixed-lentgh buffer with asprintf
Karl DeBisschop [Wed, 30 Oct 2002 18:47:48 +0000 (18:47 +0000)]
replace fixed-lentgh buffer with asprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@168 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoforgot to remove call_getopt
Karl DeBisschop [Wed, 30 Oct 2002 18:46:01 +0000 (18:46 +0000)]
forgot to remove call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@167 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoforgot to remove call_getopt declaration
Karl DeBisschop [Wed, 30 Oct 2002 18:45:05 +0000 (18:45 +0000)]
forgot to remove call_getopt declaration

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@166 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt, fix several buffer overruns possible due to use of fixed size...
Karl DeBisschop [Wed, 30 Oct 2002 18:29:07 +0000 (18:29 +0000)]
remove call_getopt, fix several buffer overruns possible due to use of fixed size buffers

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@165 f882894a-f735-0410-b71e-b25c423dba1c

22 years agodebian builds not actively maintained, so suppress error in setup script
Karl DeBisschop [Wed, 30 Oct 2002 18:22:10 +0000 (18:22 +0000)]
debian builds not actively maintained, so suppress error in setup script

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@164 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomonitor mailq
Subhendu Ghosh [Wed, 30 Oct 2002 05:07:29 +0000 (05:07 +0000)]
monitor mailq

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@163 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove pspace in shebang since no sequent users replied
Karl DeBisschop [Mon, 28 Oct 2002 13:05:08 +0000 (13:05 +0000)]
remove pspace in shebang since no sequent users replied

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@162 f882894a-f735-0410-b71e-b25c423dba1c

22 years agorelease should not be in tarball name
Karl DeBisschop [Sat, 26 Oct 2002 13:30:10 +0000 (13:30 +0000)]
release should not be in tarball name

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@161 f882894a-f735-0410-b71e-b25c423dba1c

22 years agotweak source macro
Karl DeBisschop [Fri, 25 Oct 2002 13:58:07 +0000 (13:58 +0000)]
tweak source macro

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@160 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove check_nt
Karl DeBisschop [Fri, 25 Oct 2002 12:35:09 +0000 (12:35 +0000)]
remove check_nt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@159 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoinclude getloadavg sources, add some Solaris pkg build support
Karl DeBisschop [Fri, 25 Oct 2002 02:31:03 +0000 (02:31 +0000)]
include getloadavg sources, add some Solaris pkg build support

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@158 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt, replace ssprintf with asprintf,better server version reporting
Karl DeBisschop [Tue, 22 Oct 2002 09:13:56 +0000 (09:13 +0000)]
remove call_getopt, replace ssprintf with asprintf,better server version reporting

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@157 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoadd check_spop
Karl DeBisschop [Tue, 22 Oct 2002 08:54:27 +0000 (08:54 +0000)]
add check_spop

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@156 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove call_getopt, replace ssprintf with asprintf
Karl DeBisschop [Tue, 22 Oct 2002 08:19:05 +0000 (08:19 +0000)]
remove call_getopt, replace ssprintf with asprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@155 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoFrom: Jerome Tytgat - checks to see if named process is running
Subhendu Ghosh [Tue, 22 Oct 2002 02:57:18 +0000 (02:57 +0000)]
From: Jerome Tytgat - checks to see if named process is running

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@154 f882894a-f735-0410-b71e-b25c423dba1c

22 years agocheck_nt is downloadable from nsclient.ready2run.nl
Subhendu Ghosh [Tue, 22 Oct 2002 01:31:04 +0000 (01:31 +0000)]
check_nt is downloadable from nsclient.ready2run.nl

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@153 f882894a-f735-0410-b71e-b25c423dba1c

22 years agouse asprintf instead of ssprintf
Karl DeBisschop [Mon, 21 Oct 2002 05:04:41 +0000 (05:04 +0000)]
use asprintf instead of ssprintf

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@152 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoneed to define SOURCES for check_tcp to also build as check_ftp,check_imap,check_nntp...
Karl DeBisschop [Mon, 21 Oct 2002 04:36:46 +0000 (04:36 +0000)]
need to define SOURCES for check_tcp to also build as check_ftp,check_imap,check_nntp,check_pop

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@151 f882894a-f735-0410-b71e-b25c423dba1c

22 years agouse asprintf to do strscpy
Karl DeBisschop [Mon, 21 Oct 2002 04:05:48 +0000 (04:05 +0000)]
use asprintf to do strscpy

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@150 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoroll check_ftp, check_imap, check_pop, and check_nntp into check_tcp
Karl DeBisschop [Mon, 21 Oct 2002 04:04:20 +0000 (04:04 +0000)]
roll check_ftp, check_imap, check_pop, and check_nntp into check_tcp

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@149 f882894a-f735-0410-b71e-b25c423dba1c

22 years agothese are all combined into check_tcp now
Karl DeBisschop [Mon, 21 Oct 2002 04:03:18 +0000 (04:03 +0000)]
these are all combined into check_tcp now

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@148 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove broken call_getopt
Karl DeBisschop [Mon, 21 Oct 2002 03:55:37 +0000 (03:55 +0000)]
remove broken call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@147 f882894a-f735-0410-b71e-b25c423dba1c

22 years agocleanup process_arguments, print_help, and print_usage
Karl DeBisschop [Mon, 21 Oct 2002 03:43:25 +0000 (03:43 +0000)]
cleanup process_arguments, print_help, and print_usage

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@146 f882894a-f735-0410-b71e-b25c423dba1c

22 years agonow we provide long opts if they do not exist
Karl DeBisschop [Mon, 21 Oct 2002 03:40:06 +0000 (03:40 +0000)]
now we provide long opts if they do not exist

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@145 f882894a-f735-0410-b71e-b25c423dba1c

22 years agofixed scanning for multiple OIDs, which was not working
Karl DeBisschop [Sun, 20 Oct 2002 20:22:20 +0000 (20:22 +0000)]
fixed scanning for multiple OIDs, which was not working

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@144 f882894a-f735-0410-b71e-b25c423dba1c

22 years agochange ssprintf to asprintf
Karl DeBisschop [Sun, 20 Oct 2002 18:49:00 +0000 (18:49 +0000)]
change ssprintf to asprintf
back out change at line 225 in r1.4
  (values were mismatched to format string, so output was nonsense)
  (I left a comment showing a construct that should work, but it fails for PHBs:
    if my disk gets nearly full, they want 'CRITICAL - 99%' not 'CRITICAL - Gauge32: 99')
  (If someine has a rationale for the change, maybe it could be done as an option? - it seems
    fairly clear that the Web display should be sensible to PHBs so long as there's no real loss)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@143 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove old call_getopt
Karl DeBisschop [Fri, 18 Oct 2002 06:41:22 +0000 (06:41 +0000)]
remove old call_getopt

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@142 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoremove old call_getopt code, fix bug taking single float, allow colon as separators...
Karl DeBisschop [Fri, 18 Oct 2002 05:55:56 +0000 (05:55 +0000)]
remove old call_getopt code, fix bug taking single float, allow colon as separators in additin to commas

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@141 f882894a-f735-0410-b71e-b25c423dba1c

22 years agohandle null src in strscat
Karl DeBisschop [Fri, 18 Oct 2002 04:41:05 +0000 (04:41 +0000)]
handle null src in strscat

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@140 f882894a-f735-0410-b71e-b25c423dba1c

22 years agomillisecond timing
Karl DeBisschop [Fri, 18 Oct 2002 03:48:53 +0000 (03:48 +0000)]
millisecond timing

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@139 f882894a-f735-0410-b71e-b25c423dba1c

22 years agorefine STD_LONG_OPTS
Karl DeBisschop [Fri, 18 Oct 2002 03:46:43 +0000 (03:46 +0000)]
refine STD_LONG_OPTS

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@138 f882894a-f735-0410-b71e-b25c423dba1c

22 years agoprovide on more decimal point printing time
Karl DeBisschop [Fri, 18 Oct 2002 03:46:10 +0000 (03:46 +0000)]
provide on more decimal point printing time

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@137 f882894a-f735-0410-b71e-b25c423dba1c