Code

nagiosplug.git
21 years agoadded feature -u (list of unused ifIndex)
Subhendu Ghosh [Fri, 11 Apr 2003 22:36:05 +0000 (22:36 +0000)]
added feature -u (list of unused ifIndex)

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

21 years agobug 691412, added feature -x (list of excluded ifTypes)
Subhendu Ghosh [Fri, 11 Apr 2003 22:09:48 +0000 (22:09 +0000)]
bug 691412, added feature -x (list of excluded ifTypes)

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

21 years agopatch 698384 - order of args to snmpget + print a bit of stderr
Subhendu Ghosh [Fri, 11 Apr 2003 18:44:50 +0000 (18:44 +0000)]
patch 698384 - order of args to snmpget + print a bit of stderr

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

21 years agocleanup to suppress various strict compiler warnings
Karl DeBisschop [Wed, 9 Apr 2003 03:46:26 +0000 (03:46 +0000)]
cleanup to suppress various strict compiler warnings

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

21 years agorewrite #elif to be compatible with traditional C
Karl DeBisschop [Wed, 9 Apr 2003 03:44:29 +0000 (03:44 +0000)]
rewrite #elif to be compatible with traditional C

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

21 years agocheck_game needs popen.c now
Karl DeBisschop [Wed, 9 Apr 2003 02:09:09 +0000 (02:09 +0000)]
check_game needs popen.c now

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

21 years agoUpdated command for new check_procs
Ton Voon [Tue, 8 Apr 2003 20:38:27 +0000 (20:38 +0000)]
Updated command for new check_procs

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

21 years agoChanged // to /* */ comments as some compilers do not like them
Ton Voon [Tue, 8 Apr 2003 20:37:13 +0000 (20:37 +0000)]
Changed // to /* */ comments as some compilers do not like them

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

21 years agocheck_axis.sh (Axis 5xx print servers) from Tom De Blende
Stanley Hopcroft [Tue, 8 Apr 2003 00:00:39 +0000 (00:00 +0000)]
check_axis.sh (Axis 5xx print servers) from Tom De Blende

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

21 years agoFixed zombie processes
Ton Voon [Mon, 7 Apr 2003 23:40:33 +0000 (23:40 +0000)]
Fixed zombie processes

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

21 years agoMissed some PS_FORMAT strings
Ton Voon [Mon, 7 Apr 2003 23:16:21 +0000 (23:16 +0000)]
Missed some PS_FORMAT strings

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

21 years agoSouped up check_procs with different metrics
Ton Voon [Mon, 7 Apr 2003 22:53:49 +0000 (22:53 +0000)]
Souped up check_procs with different metrics

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

21 years agoRemoved unnecessary regex array
Ton Voon [Mon, 7 Apr 2003 21:21:12 +0000 (21:21 +0000)]
Removed unnecessary regex array

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

21 years agoste timeout one second greater than critical time
Karl DeBisschop [Mon, 7 Apr 2003 11:39:04 +0000 (11:39 +0000)]
ste timeout one second greater than critical time

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

21 years agohad been grandfathered ibto core, finally use normal getopts, add options for player...
Karl DeBisschop [Mon, 7 Apr 2003 11:38:15 +0000 (11:38 +0000)]
had been grandfathered ibto core, finally use normal getopts, add options for player, max-player array positions

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

21 years agoCleaned up cache output
Ton Voon [Thu, 3 Apr 2003 21:21:59 +0000 (21:21 +0000)]
Cleaned up cache output

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

21 years agoFixed sqlplus calls and rearranged parameters for --tablespace & --cache
Ton Voon [Tue, 1 Apr 2003 22:24:18 +0000 (22:24 +0000)]
Fixed sqlplus calls and rearranged parameters for --tablespace & --cache

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

21 years agoremove PATH_PROG call for autoconf/automake components
Karl DeBisschop [Tue, 1 Apr 2003 04:00:21 +0000 (04:00 +0000)]
remove PATH_PROG call for autoconf/automake components

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

21 years agocheckpoint
Karl DeBisschop [Mon, 31 Mar 2003 12:49:15 +0000 (12:49 +0000)]
checkpoint
 supresses iso9660
 adds option for checking only local
 adds choice of scale factor

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

21 years agoExtra Netware checks (Patch 710247 - Dietmar Ruzicka)
Ton Voon [Thu, 27 Mar 2003 22:53:45 +0000 (22:53 +0000)]
Extra Netware checks (Patch 710247 - Dietmar Ruzicka)

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

21 years agoipv6 check requires unistd.h for Darwin
Ton Voon [Wed, 26 Mar 2003 05:37:11 +0000 (05:37 +0000)]
ipv6 check requires unistd.h for Darwin

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

21 years agoRemoval of ps_raw and ps_vars
Ton Voon [Wed, 26 Mar 2003 03:57:58 +0000 (03:57 +0000)]
Removal of ps_raw and ps_vars

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

21 years agoUses same ps command as check_procs
Ton Voon [Wed, 26 Mar 2003 03:39:13 +0000 (03:39 +0000)]
Uses same ps command as check_procs

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

21 years agosubst is no longer used
Karl DeBisschop [Tue, 25 Mar 2003 06:33:02 +0000 (06:33 +0000)]
subst is no longer used

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

21 years agoBetter stripping of prefix for Solaris package install needs to remove
Jeremy T. Bouse [Mon, 24 Mar 2003 19:05:14 +0000 (19:05 +0000)]
Better stripping of prefix for Solaris package install needs to remove
/usr/local as package installs there by default

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

21 years agoMinor changes to build for Solaris packages
Jeremy T. Bouse [Mon, 24 Mar 2003 17:45:01 +0000 (17:45 +0000)]
Minor changes to build for Solaris packages

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

21 years agoUse max_state
Ton Voon [Mon, 24 Mar 2003 16:23:01 +0000 (16:23 +0000)]
Use max_state

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

21 years agoPATH set in correct place and extra comments
Ton Voon [Mon, 24 Mar 2003 02:57:50 +0000 (02:57 +0000)]
PATH set in correct place and extra comments

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

21 years agoBug fixes
Ton Voon [Mon, 24 Mar 2003 02:44:17 +0000 (02:44 +0000)]
Bug fixes

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

21 years agoSends email if non-zero return code from command
Ton Voon [Mon, 24 Mar 2003 02:21:02 +0000 (02:21 +0000)]
Sends email if non-zero return code from command

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

21 years agoError code depending on number of files generated
Ton Voon [Mon, 24 Mar 2003 02:19:22 +0000 (02:19 +0000)]
Error code depending on number of files generated

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

21 years agoUsing coreutils 4.5.11 version to fix Darwin problem
Ton Voon [Mon, 24 Mar 2003 01:18:15 +0000 (01:18 +0000)]
Using coreutils 4.5.11 version to fix Darwin problem

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

21 years agoAdd NSClient requirement for check_nt
Ton Voon [Mon, 24 Mar 2003 00:42:34 +0000 (00:42 +0000)]
Add NSClient requirement for check_nt

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

21 years agoReference to web site to get NSClient
Ton Voon [Mon, 24 Mar 2003 00:26:31 +0000 (00:26 +0000)]
Reference to web site to get NSClient

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

21 years agoSolaris package build system
Jeremy T. Bouse [Sun, 23 Mar 2003 07:01:20 +0000 (07:01 +0000)]
Solaris package build system

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

21 years agocan once again exclude indiviual path/partitions
Karl DeBisschop [Sun, 23 Mar 2003 06:20:50 +0000 (06:20 +0000)]
can once again exclude indiviual path/partitions

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

21 years agoadd -X to exclude FS type, now works with more than one path/dev specified
Karl DeBisschop [Sun, 23 Mar 2003 06:11:26 +0000 (06:11 +0000)]
add -X to exclude FS type, now works with more than one path/dev specified

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

21 years agodeclaration must precede printf
Karl DeBisschop [Sat, 22 Mar 2003 13:23:28 +0000 (13:23 +0000)]
declaration must precede printf

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

21 years agocheckpoint, allows selecting devices and paths now
Karl DeBisschop [Fri, 21 Mar 2003 14:08:01 +0000 (14:08 +0000)]
checkpoint, allows selecting devices and paths now

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

21 years agoinstructions for posting plugin version number
Karl DeBisschop [Fri, 21 Mar 2003 14:04:51 +0000 (14:04 +0000)]
instructions for posting plugin version number

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

21 years agoallow to specify -1 and -2 for protocol version
Karl DeBisschop [Wed, 19 Mar 2003 23:44:40 +0000 (23:44 +0000)]
allow to specify -1 and -2 for protocol version

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

21 years agomake state_text a function
Karl DeBisschop [Wed, 19 Mar 2003 13:01:05 +0000 (13:01 +0000)]
make state_text a function

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

21 years agocheck_disk working with mountlist.c
Karl DeBisschop [Wed, 19 Mar 2003 12:59:38 +0000 (12:59 +0000)]
check_disk working with mountlist.c

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

21 years agosubst.* was replaced by dist-hook
Karl DeBisschop [Wed, 19 Mar 2003 02:28:12 +0000 (02:28 +0000)]
subst.* was replaced by dist-hook

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

21 years agothese were replaced by dist-hook
Karl DeBisschop [Wed, 19 Mar 2003 02:27:20 +0000 (02:27 +0000)]
these were replaced by dist-hook

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

21 years agorunning the AFS macro causes newer AC/AM to barf
Karl DeBisschop [Tue, 18 Mar 2003 15:18:16 +0000 (15:18 +0000)]
running the AFS macro causes newer AC/AM to barf

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

21 years agoafs checking
Karl DeBisschop [Tue, 18 Mar 2003 09:02:04 +0000 (09:02 +0000)]
afs checking

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

21 years agouse AC_DEFINE_UNQOUTED
Karl DeBisschop [Tue, 18 Mar 2003 08:50:27 +0000 (08:50 +0000)]
use AC_DEFINE_UNQOUTED

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

21 years agostop warning on autoheader 2.13
Karl DeBisschop [Tue, 18 Mar 2003 08:47:41 +0000 (08:47 +0000)]
stop warning on autoheader 2.13

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

21 years agocommon.h was doubly included
Karl DeBisschop [Tue, 18 Mar 2003 07:57:48 +0000 (07:57 +0000)]
common.h was doubly included

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

21 years agouse enum instead of define, remove some cruft from old snprintf implementation
Karl DeBisschop [Tue, 18 Mar 2003 07:57:00 +0000 (07:57 +0000)]
use enum instead of define, remove some cruft from old snprintf implementation

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

21 years agouse GNU fileutils for check_disk
Karl DeBisschop [Tue, 18 Mar 2003 07:48:44 +0000 (07:48 +0000)]
use GNU fileutils for check_disk

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

21 years agofrom GNU fileutils for check_disk
Karl DeBisschop [Tue, 18 Mar 2003 07:47:37 +0000 (07:47 +0000)]
from GNU fileutils for check_disk

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

21 years agoAllow default Oracle home from oratab (reported by Walbert Oberngruber)
Ton Voon [Mon, 17 Mar 2003 22:24:30 +0000 (22:24 +0000)]
Allow default Oracle home from oratab (reported by Walbert Oberngruber)

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

21 years agoModified to automatically enable getaddrinfo emulation if lwres is not used and
Jeremy T. Bouse [Sun, 16 Mar 2003 23:54:24 +0000 (23:54 +0000)]
Modified to automatically enable getaddrinfo emulation if lwres is not used and
getaddrinfo is not found in the system.

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

21 years agoApplied patch #660973 for tcp refusals
Jeremy T. Bouse [Sun, 16 Mar 2003 23:28:49 +0000 (23:28 +0000)]
Applied patch #660973 for tcp refusals

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

21 years agoLeft over debug define
Jeremy T. Bouse [Sat, 15 Mar 2003 01:28:44 +0000 (01:28 +0000)]
Left over debug define

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

21 years agoSpent the day working on backwards compatability using getaddrinfo()
Jeremy T. Bouse [Sat, 15 Mar 2003 01:25:35 +0000 (01:25 +0000)]
Spent the day working on backwards compatability using getaddrinfo()
Moved getaddrinfo.? and gethostbyname.? from lib/ to plugins/ due to
problems with compiling into the libnagiosplug.a as it required linking
against socket libraries which are unneeded except for network based
plugins.
This code should hopefully happily work for all systems and has been tested
prior to commit on Debian GNU/Linux, SPARC Solaris 7 and SPARC Solaris 9.

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

21 years agoadd timeout, fix taint chacking diom
Karl DeBisschop [Fri, 14 Mar 2003 13:28:41 +0000 (13:28 +0000)]
add timeout, fix taint chacking diom

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

21 years agoWorking out issues with getaddrinfo emulation build environment
Jeremy T. Bouse [Thu, 13 Mar 2003 22:20:30 +0000 (22:20 +0000)]
Working out issues with getaddrinfo emulation build environment

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

21 years agoStrip leading spaces in perf data
Ton Voon [Thu, 13 Mar 2003 21:14:26 +0000 (21:14 +0000)]
Strip leading spaces in perf data

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

21 years agoPerf data without leading spaces and fix ANSI C complaint about \n
Ton Voon [Thu, 13 Mar 2003 21:10:59 +0000 (21:10 +0000)]
Perf data without leading spaces and fix ANSI C complaint about \n

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

21 years agoFix compiler warnings re progname
Ton Voon [Thu, 13 Mar 2003 20:33:18 +0000 (20:33 +0000)]
Fix compiler warnings re progname

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

21 years agoRemoved auto-tools script that automake adds
Jeremy T. Bouse [Thu, 13 Mar 2003 06:52:56 +0000 (06:52 +0000)]
Removed auto-tools script that automake adds

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

21 years agoUpdated cvs ignore files to reflect changes
Jeremy T. Bouse [Thu, 13 Mar 2003 06:51:18 +0000 (06:51 +0000)]
Updated cvs ignore files to reflect changes
Moved header files from being ran through configure to standard
Removed auto-tools scripts that get added by automake

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

21 years agonegate must be POSIXly correct in handling options, else wrapped options get passed...
Karl DeBisschop [Thu, 13 Mar 2003 06:00:21 +0000 (06:00 +0000)]
negate must be POSIXly correct in handling options, else wrapped options get passed to it

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

21 years agoRemoved --with-ipv6 configure option so it determines IPv6 availablity
Jeremy T. Bouse [Thu, 13 Mar 2003 05:59:58 +0000 (05:59 +0000)]
Removed --with-ipv6 configure option so it determines IPv6 availablity
completely on it's own per suggestion by Karl

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

21 years agodoco standarization
Jeremy T. Bouse [Wed, 12 Mar 2003 22:13:51 +0000 (22:13 +0000)]
doco standarization

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

21 years agoJust a lil namespace clean-up
Jeremy T. Bouse [Wed, 12 Mar 2003 19:50:05 +0000 (19:50 +0000)]
Just a lil namespace clean-up

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

21 years agoMinor fix to --with-ipv6 behavior
Jeremy T. Bouse [Wed, 12 Mar 2003 17:42:22 +0000 (17:42 +0000)]
Minor fix to --with-ipv6 behavior

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

21 years agoAdded autogen.sh script that rebuilds using autotools and runs configure
Jeremy T. Bouse [Wed, 12 Mar 2003 17:11:20 +0000 (17:11 +0000)]
Added autogen.sh script that rebuilds using autotools and runs configure
Modified configure.in to include some debug build option info at the end
of the scripts execution. Can be removed by release time.
Modified configure.in to include a --with-ipv6 option
Default build is without IPv6 support now to enable you need to use the
--with-ipv6 command line option to configure.
Modified plugins/utils.* to use USE_IPV6

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

21 years agodoco standarization
Karl DeBisschop [Wed, 12 Mar 2003 07:05:47 +0000 (07:05 +0000)]
doco standarization

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

21 years agoerrors for statfs
Karl DeBisschop [Wed, 12 Mar 2003 06:44:34 +0000 (06:44 +0000)]
errors for statfs

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

21 years agocomment/doco cleanup for embeeded doc work, control STMP command via options instead...
Karl DeBisschop [Wed, 12 Mar 2003 06:41:33 +0000 (06:41 +0000)]
comment/doco cleanup for embeeded doc work, control STMP command via options instead of defines

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

21 years agoversion increase, statfs work
Karl DeBisschop [Wed, 12 Mar 2003 06:38:24 +0000 (06:38 +0000)]
version increase, statfs work

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

21 years agoAdd some more extra plugins
Jeremy T. Bouse [Wed, 12 Mar 2003 02:47:56 +0000 (02:47 +0000)]
Add some more extra plugins

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

21 years agoClean up of output from plugin
Jeremy T. Bouse [Wed, 12 Mar 2003 02:29:49 +0000 (02:29 +0000)]
Clean up of output from plugin

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

21 years agoCode clean-up
Jeremy T. Bouse [Wed, 12 Mar 2003 02:29:48 +0000 (02:29 +0000)]
Code clean-up

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

21 years agoCode cleanup
Jeremy T. Bouse [Wed, 12 Mar 2003 02:23:47 +0000 (02:23 +0000)]
Code cleanup

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

21 years agoRemoved is_host checks to speed up code. Fixed timings so no spaces
Ton Voon [Wed, 12 Mar 2003 00:45:01 +0000 (00:45 +0000)]
Removed is_host checks to speed up code. Fixed timings so no spaces

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

21 years agoTimings in milliseconds and nicer output
Ton Voon [Wed, 12 Mar 2003 00:08:19 +0000 (00:08 +0000)]
Timings in milliseconds and nicer output

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

21 years agoAdd script ignores
Ton Voon [Tue, 11 Mar 2003 22:51:16 +0000 (22:51 +0000)]
Add script ignores

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

21 years agoRemove getopt_long checks
Ton Voon [Tue, 11 Mar 2003 22:36:03 +0000 (22:36 +0000)]
Remove getopt_long checks

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

21 years agoFixed reading too many argv parameters and changed to asprintf
Ton Voon [Tue, 11 Mar 2003 22:34:11 +0000 (22:34 +0000)]
Fixed reading too many argv parameters and changed to asprintf

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

21 years agoRemove getopt_long checks
Ton Voon [Tue, 11 Mar 2003 22:22:12 +0000 (22:22 +0000)]
Remove getopt_long checks

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

21 years agoFixed some ping6 variables
Jeremy T. Bouse [Tue, 11 Mar 2003 22:09:34 +0000 (22:09 +0000)]
Fixed some ping6 variables

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

21 years agoMinor change to Karl's statfs check
Jeremy T. Bouse [Tue, 11 Mar 2003 18:32:08 +0000 (18:32 +0000)]
Minor change to Karl's statfs check
Inclusion of ICMPv6 ping tests to define PING6_COMMAND
Minor fix to ps syntax checking to fix bug I introduced last nite

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

21 years agoRemoved acconfig.h from EXTRA_DIST
Jeremy T. Bouse [Tue, 11 Mar 2003 07:04:56 +0000 (07:04 +0000)]
Removed acconfig.h from EXTRA_DIST
Fixed problem with test in SWAP_FORMAT and SWAP_COMMAND

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

21 years agouse statfs for check_disk (still needs fs scan)
Karl DeBisschop [Tue, 11 Mar 2003 06:44:22 +0000 (06:44 +0000)]
use statfs for check_disk (still needs fs scan)

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

21 years agoFinishing clean-up of configure.in
Jeremy T. Bouse [Tue, 11 Mar 2003 06:03:29 +0000 (06:03 +0000)]
Finishing clean-up of configure.in
Removing acconfig.h as it's no longer needed

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

21 years agoCleaned up configure for PS and PING to produce cleaner config.h
Jeremy T. Bouse [Mon, 10 Mar 2003 23:58:16 +0000 (23:58 +0000)]
Cleaned up configure for PS and PING to produce cleaner config.h

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

21 years agoMake sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is defined
Jeremy T. Bouse [Sun, 9 Mar 2003 18:13:24 +0000 (18:13 +0000)]
Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is defined

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

21 years agoImplement error-only option for check_disk (Ian Duggan)
Ton Voon [Sun, 9 Mar 2003 10:39:49 +0000 (10:39 +0000)]
Implement error-only option for check_disk (Ian Duggan)

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

21 years agoFix AIX /proc filesystem (Ian Duggan)
Ton Voon [Sat, 8 Mar 2003 12:08:24 +0000 (12:08 +0000)]
Fix AIX /proc filesystem (Ian Duggan)

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

21 years agosnprintf checks in configure.in like samba
Ton Voon [Sat, 8 Mar 2003 11:44:37 +0000 (11:44 +0000)]
snprintf checks in configure.in like samba

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

21 years agoModified code to call is_addr() rather than is_dotted_quad() with the
Jeremy T. Bouse [Sat, 8 Mar 2003 02:27:57 +0000 (02:27 +0000)]
Modified code to call is_addr() rather than is_dotted_quad() with the
new AF indepdent function routines

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

21 years agoAF indepedent routines introduced.
Jeremy T. Bouse [Sat, 8 Mar 2003 02:26:22 +0000 (02:26 +0000)]
AF indepedent routines introduced.
Modifed process_request() & my_connect() parameters to make 'proto' type
'int' rather than 'char *' and use IPPROTO_* POSIX values.
Removed is_dotted_quad() & my_inet_aton() functions
Added is_addr(), is_inet_addr(), is_inet6_addr() and resolve_host_or_addr()
functions to check whether it is a valid IP address
Modified is_host() to call is_addr() and is_hostname()

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

21 years agoNeed to remove configure.in
Ton Voon [Sat, 8 Mar 2003 02:02:43 +0000 (02:02 +0000)]
Need to remove configure.in

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

21 years agoMove snprintf into lib
Ton Voon [Sat, 8 Mar 2003 01:59:31 +0000 (01:59 +0000)]
Move snprintf into lib

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

21 years agoHave to run through whole automake procedure as datestamp in RELEASE variable
Ton Voon [Sat, 8 Mar 2003 01:48:13 +0000 (01:48 +0000)]
Have to run through whole automake procedure as datestamp in RELEASE variable

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