Code

nagiosplug.git
21 years agoAdding lib directory for getopts change
Ton Voon [Mon, 10 Feb 2003 23:24:35 +0000 (23:24 +0000)]
Adding lib directory for getopts change

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

21 years agoFixed Tru64 ps command (Bug 669585 - Paula Arnold)
Ton Voon [Mon, 10 Feb 2003 23:08:25 +0000 (23:08 +0000)]
Fixed Tru64 ps command (Bug 669585 - Paula Arnold)

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

21 years agoAdded argc checks before attempting to access argv[]
Jeremy T. Bouse [Mon, 10 Feb 2003 18:36:46 +0000 (18:36 +0000)]
Added argc checks before attempting to access argv[]

Corrected return codes and output

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

21 years agoRevised code to use resolving and connection code in utils.c and
Jeremy T. Bouse [Mon, 10 Feb 2003 14:18:00 +0000 (14:18 +0000)]
Revised code to use resolving and connection code in utils.c and
netutils.c rather than its own functions.
Corrected code to properly handle input of server hostname and port on
commandline without option flags.

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

21 years agothis plugin is in core as check_fping
Karl DeBisschop [Mon, 10 Feb 2003 04:49:53 +0000 (04:49 +0000)]
this plugin is in core as check_fping

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

21 years agoReordered program calls so autoheader was called before automake thus
Jeremy T. Bouse [Sun, 9 Feb 2003 18:59:53 +0000 (18:59 +0000)]
Reordered program calls so autoheader was called before automake thus
getting rid of errors for header files not being present when automake
was called. Also puts it inline with documentation in
INSTALL & INSTALLING

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

21 years ago new plugins
Subhendu Ghosh [Sun, 9 Feb 2003 14:20:30 +0000 (14:20 +0000)]
 new plugins

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

21 years agofile rename
Subhendu Ghosh [Sun, 9 Feb 2003 14:18:08 +0000 (14:18 +0000)]
file rename

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

21 years agomore contribs
Subhendu Ghosh [Sun, 9 Feb 2003 14:16:29 +0000 (14:16 +0000)]
more contribs

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

21 years agonew version
Subhendu Ghosh [Sun, 9 Feb 2003 14:03:22 +0000 (14:03 +0000)]
new version

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

21 years agospell check
Karl DeBisschop [Sun, 9 Feb 2003 12:56:32 +0000 (12:56 +0000)]
spell check

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

21 years agospell check
Karl DeBisschop [Sun, 9 Feb 2003 12:36:26 +0000 (12:36 +0000)]
spell check

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

21 years agoispell
Subhendu Ghosh [Sun, 9 Feb 2003 12:17:48 +0000 (12:17 +0000)]
ispell

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

21 years agouse enum instead of define
Karl DeBisschop [Sat, 8 Feb 2003 06:00:51 +0000 (06:00 +0000)]
use enum instead of define

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

21 years agoadd item on submitting new plugins
Karl DeBisschop [Sat, 8 Feb 2003 05:58:03 +0000 (05:58 +0000)]
add item on submitting new plugins

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

21 years agosuggest minimum standards for support requests
Karl DeBisschop [Sat, 8 Feb 2003 05:57:04 +0000 (05:57 +0000)]
suggest minimum standards for support requests

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

21 years agosubmit request with one send
Karl DeBisschop [Sat, 8 Feb 2003 05:32:40 +0000 (05:32 +0000)]
submit request with one send

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

21 years agofix for SSL build on RedHat rawhide
Karl DeBisschop [Wed, 5 Feb 2003 05:59:23 +0000 (05:59 +0000)]
fix for SSL build on RedHat rawhide

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

21 years agoallow check to proceed using servers from resolv.conf
Karl DeBisschop [Wed, 5 Feb 2003 05:58:35 +0000 (05:58 +0000)]
allow check to proceed using servers from resolv.conf

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

21 years agofix segfault due to bad asprintf invocation
Karl DeBisschop [Wed, 5 Feb 2003 05:57:27 +0000 (05:57 +0000)]
fix segfault due to bad asprintf invocation

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

21 years ago install user:grp perms [patch 679703 -Detlef Boehm]
Subhendu Ghosh [Tue, 4 Feb 2003 06:24:20 +0000 (06:24 +0000)]
 install user:grp perms [patch 679703 -Detlef Boehm]

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

21 years agolmstat output update
Subhendu Ghosh [Tue, 4 Feb 2003 06:16:16 +0000 (06:16 +0000)]
lmstat output update

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

21 years agocorrected ntpdate offset to seconds
Subhendu Ghosh [Tue, 4 Feb 2003 05:54:39 +0000 (05:54 +0000)]
corrected ntpdate offset to seconds

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

21 years agoAvoid core dump with null or invalid data (679400 - Mathieu Masseboeuf)
Ton Voon [Mon, 3 Feb 2003 21:43:18 +0000 (21:43 +0000)]
Avoid core dump with null or invalid data (679400 - Mathieu Masseboeuf)

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

21 years agoPatch for Mac OS X compile (652080 - Ton Voon)
Ton Voon [Mon, 3 Feb 2003 21:33:54 +0000 (21:33 +0000)]
Patch for Mac OS X compile (652080 - Ton Voon)

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

21 years agoCitrix plugin
Subhendu Ghosh [Mon, 3 Feb 2003 20:43:51 +0000 (20:43 +0000)]
Citrix plugin

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

21 years agomore sample command configurations
Subhendu Ghosh [Mon, 3 Feb 2003 20:35:18 +0000 (20:35 +0000)]
more sample command configurations

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

21 years agochange ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 )
Subhendu Ghosh [Mon, 3 Feb 2003 20:29:55 +0000 (20:29 +0000)]
change ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 )

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

21 years agopatch for desync peer and ntpdate (James Fidell)
Subhendu Ghosh [Mon, 3 Feb 2003 15:47:21 +0000 (15:47 +0000)]
patch for desync peer and ntpdate (James Fidell)

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

21 years ago bugfix [bug 651021 mperry2]
Subhendu Ghosh [Mon, 3 Feb 2003 05:29:54 +0000 (05:29 +0000)]
 bugfix [bug 651021 mperry2]

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

21 years agoadded default community [bug-patch #600349 jbaumgartner]
Subhendu Ghosh [Mon, 3 Feb 2003 05:07:26 +0000 (05:07 +0000)]
added default community [bug-patch #600349 jbaumgartner]

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

21 years agoFix for zombie processes on Solaris (Bug 677803 - Matthew Brown)
Ton Voon [Fri, 31 Jan 2003 18:40:40 +0000 (18:40 +0000)]
Fix for zombie processes on Solaris (Bug 677803 - Matthew Brown)

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

21 years agoReapply all asprintf calls. Fix for %% problem with -l flag.
Ton Voon [Fri, 31 Jan 2003 18:36:06 +0000 (18:36 +0000)]
Reapply all asprintf calls. Fix for %% problem with -l flag.

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

21 years agoRemoved all unnecessary asprintf calls. Replaced with original check_nt.c
Ton Voon [Fri, 31 Jan 2003 01:26:40 +0000 (01:26 +0000)]
Removed all unnecessary asprintf calls. Replaced with original check_nt.c
to minimise amount of changes (reported by Reuben Farrelly)

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

21 years agoAdded reference to the official NSClient web site
Ton Voon [Thu, 30 Jan 2003 23:18:59 +0000 (23:18 +0000)]
Added reference to the official NSClient web site

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

21 years agoFixed long --allswap option
Ton Voon [Thu, 30 Jan 2003 22:57:27 +0000 (22:57 +0000)]
Fixed long --allswap option

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

21 years agoFixed progname
Ton Voon [Thu, 30 Jan 2003 22:55:44 +0000 (22:55 +0000)]
Fixed progname

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

21 years agoFixed error and success codes (638656 - Paul Dlug)
Ton Voon [Wed, 29 Jan 2003 20:57:09 +0000 (20:57 +0000)]
Fixed error and success codes (638656 - Paul Dlug)

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

21 years agoAdded cache and tablespace check (621567 - John Marquart)
Ton Voon [Wed, 29 Jan 2003 20:47:56 +0000 (20:47 +0000)]
Added cache and tablespace check (621567 - John Marquart)

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

21 years agoAdded in check_nt for bug 646516
Ton Voon [Wed, 29 Jan 2003 20:33:04 +0000 (20:33 +0000)]
Added in check_nt for bug 646516

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

21 years agoremove incorrect check_disk() declaration
Karl DeBisschop [Wed, 29 Jan 2003 06:38:00 +0000 (06:38 +0000)]
remove incorrect check_disk() declaration

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

21 years agofix segfault when argc>=2 and the -H or -b options are not supplied
Karl DeBisschop [Wed, 29 Jan 2003 06:16:15 +0000 (06:16 +0000)]
fix segfault when argc>=2 and the -H or -b options are not supplied

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

21 years ago1.8
Karl DeBisschop [Wed, 29 Jan 2003 06:15:32 +0000 (06:15 +0000)]
1.8

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

21 years agoBetter error if server requests client based certificate (609382 - Olaf Greis)
Ton Voon [Wed, 29 Jan 2003 05:55:50 +0000 (05:55 +0000)]
Better error if server requests client based certificate (609382 - Olaf Greis)

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

21 years agoExit code added (604837 - Lachlan Cameron-Smith)
Ton Voon [Wed, 29 Jan 2003 05:27:20 +0000 (05:27 +0000)]
Exit code added (604837 - Lachlan Cameron-Smith)

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

21 years agoAdded dummy login test (650970 - Ton Voon)
Ton Voon [Wed, 29 Jan 2003 05:10:49 +0000 (05:10 +0000)]
Added dummy login test (650970 - Ton Voon)

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

21 years agoError when no params passed, better invalid params message (652086 - Ton Voon)
Ton Voon [Wed, 29 Jan 2003 04:28:37 +0000 (04:28 +0000)]
Error when no params passed, better invalid params message (652086 - Ton Voon)

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

21 years agoFixed NULL status in Solaris (644783 - Fabian Pehla)
Ton Voon [Wed, 29 Jan 2003 04:11:49 +0000 (04:11 +0000)]
Fixed NULL status in Solaris (644783 - Fabian Pehla)
Fixed -p options (652082 - Ton Voon)

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

21 years agotypo: had commented use Net::SNMP for testing
Karl DeBisschop [Tue, 28 Jan 2003 07:44:56 +0000 (07:44 +0000)]
typo: had commented use Net::SNMP for testing

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

21 years agomake sure host_name is set and remove NULL string inits that can lead to segfaults
Karl DeBisschop [Tue, 28 Jan 2003 07:42:32 +0000 (07:42 +0000)]
make sure host_name is set and remove NULL string inits that can lead to segfaults

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

21 years agomissed argc check on port parameter
Karl DeBisschop [Tue, 28 Jan 2003 07:26:05 +0000 (07:26 +0000)]
missed argc check on port parameter

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

21 years agosplit and validate input more robustly
Karl DeBisschop [Tue, 28 Jan 2003 07:17:24 +0000 (07:17 +0000)]
split and validate input more robustly

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

21 years agoremove NULL string inits that can lead to segfaults
Karl DeBisschop [Tue, 28 Jan 2003 07:15:54 +0000 (07:15 +0000)]
remove NULL string inits that can lead to segfaults

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

21 years agops support for Darwin / MacOSX
Ton Voon [Tue, 28 Jan 2003 00:32:23 +0000 (00:32 +0000)]
ps support for Darwin / MacOSX

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

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