Code

nagiosplug.git
21 years agodo not pass host if none is provided
Karl DeBisschop [Mon, 27 Jan 2003 11:53:25 +0000 (11:53 +0000)]
do not pass host if none is provided

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

21 years agowe were sending extra CRLF
Karl DeBisschop [Mon, 27 Jan 2003 06:04:03 +0000 (06:04 +0000)]
we were sending extra CRLF

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

21 years agoindicate new default state in get_rpcinfo, also fix a bunch of indents for consistent...
Karl DeBisschop [Sun, 19 Jan 2003 06:34:59 +0000 (06:34 +0000)]
indicate new default state in get_rpcinfo, also fix a bunch of indents for consistent format

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

21 years agobug fix for state and opt_c initialization
Subhendu Ghosh [Fri, 17 Jan 2003 05:56:01 +0000 (05:56 +0000)]
bug fix for state and opt_c initialization

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

21 years agoCounter32 tag parsing added
Subhendu Ghosh [Fri, 17 Jan 2003 05:37:22 +0000 (05:37 +0000)]
Counter32 tag parsing added

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

21 years agosemicolon needed where progname define was replaced
Karl DeBisschop [Thu, 16 Jan 2003 06:42:24 +0000 (06:42 +0000)]
semicolon needed where progname define was replaced

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

21 years agoadd option to let regex span newlines
Karl DeBisschop [Thu, 16 Jan 2003 06:29:02 +0000 (06:29 +0000)]
add option to let regex span newlines

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

21 years agoprogname and print_usage need to be defined
Karl DeBisschop [Thu, 16 Jan 2003 06:28:23 +0000 (06:28 +0000)]
progname and print_usage need to be defined

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

21 years agosemicolon needed where praogname define was replced
Karl DeBisschop [Thu, 16 Jan 2003 06:22:03 +0000 (06:22 +0000)]
semicolon needed where praogname define was replced

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

21 years agosemicolon needed where praogname define was replced
Karl DeBisschop [Thu, 16 Jan 2003 06:10:50 +0000 (06:10 +0000)]
semicolon needed where praogname define was replced

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

21 years agofind kerberos libs in latest Red Hat beta
Karl DeBisschop [Thu, 16 Jan 2003 05:22:50 +0000 (05:22 +0000)]
find kerberos libs in latest Red Hat beta

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

21 years agorestore max() macro
Karl DeBisschop [Thu, 16 Jan 2003 05:21:18 +0000 (05:21 +0000)]
restore max() macro

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

21 years agocleanup progname assignment
Karl DeBisschop [Thu, 16 Jan 2003 05:20:15 +0000 (05:20 +0000)]
cleanup progname assignment

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

21 years agoaccept $ for share and \\ for users
Karl DeBisschop [Thu, 16 Jan 2003 05:19:09 +0000 (05:19 +0000)]
accept $ for share and \\ for users

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

21 years agoavoid segfault when host is not given
Karl DeBisschop [Thu, 16 Jan 2003 05:17:10 +0000 (05:17 +0000)]
avoid segfault when host is not given

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

21 years agoconvert PROGANE from a define to a const char
Karl DeBisschop [Mon, 13 Jan 2003 12:21:51 +0000 (12:21 +0000)]
convert PROGANE from a define to a const char

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

21 years agoconvert PROGANE from a define to a const char
Karl DeBisschop [Mon, 13 Jan 2003 12:15:16 +0000 (12:15 +0000)]
convert PROGANE from a define to a const char

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

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

22 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

22 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

22 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

22 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