Code

nagiosplug.git
18 years agoAdded perfdata for most variables and new parameters: VMU, VMF,
Ton Voon [Thu, 21 Sep 2006 10:41:24 +0000 (10:41 +0000)]
Added perfdata for most variables and new parameters: VMU, VMF,
VMP, NRMH, NRMP, NRMM, NRMS, NSS1 to NSS7 (Christian Mies)

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

18 years ago- explicitly include utils_base.h from utils.h
M. Sean Finney [Sat, 2 Sep 2006 20:41:18 +0000 (20:41 +0000)]
- explicitly include utils_base.h from utils.h
- put utils.h inside of an #ifndef/#endif

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

18 years ago- fix for warning/critical timeouts in check_tcp.c, in which the plugin
M. Sean Finney [Sat, 2 Sep 2006 20:32:27 +0000 (20:32 +0000)]
- fix for warning/critical timeouts in check_tcp.c, in which the plugin
  would exit with a usage error if non-int timeouts were passed.
- change --warning-time/--critical-time to just --warning/--critical,
  as it's what --help says.

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

18 years agoFixed inode percent free output (Mike Emigh - 1531899)
Ton Voon [Mon, 14 Aug 2006 09:04:16 +0000 (09:04 +0000)]
Fixed inode percent free output (Mike Emigh - 1531899)

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

18 years agoFixed skip of no ntp test
Ton Voon [Mon, 14 Aug 2006 08:42:23 +0000 (08:42 +0000)]
Fixed skip of no ntp test

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

18 years agoCatch no responses from any server (1538341 - nmdias)
Ton Voon [Fri, 11 Aug 2006 08:26:34 +0000 (08:26 +0000)]
Catch no responses from any server (1538341 - nmdias)

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

18 years agoInterpret the snapshot datestamp as GMT
Ton Voon [Thu, 3 Aug 2006 08:14:09 +0000 (08:14 +0000)]
Interpret the snapshot datestamp as GMT

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

18 years agoBug: 694259 fix. After consulting with the target service authors, we
Harper Mann [Mon, 31 Jul 2006 18:55:09 +0000 (18:55 +0000)]
Bug: 694259 fix.  After consulting with the target service authors, we
decided to keep the default port as 1248 and add a note about other services
sometimes using this port and suggesting to change the port.  Closing bug.

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

18 years agoM4 requirement for developer platform
Ton Voon [Mon, 31 Jul 2006 14:09:42 +0000 (14:09 +0000)]
M4 requirement for developer platform

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

18 years agoFix two Solaris compile problems
Ton Voon [Sat, 29 Jul 2006 01:43:34 +0000 (01:43 +0000)]
Fix two Solaris compile problems

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

18 years agoRemove reference to check_udp.c
Ton Voon [Sat, 29 Jul 2006 00:04:59 +0000 (00:04 +0000)]
Remove reference to check_udp.c

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

18 years agoCleanup references to old check_udp and INSTALL_OPTS. Error if
Ton Voon [Fri, 28 Jul 2006 23:59:29 +0000 (23:59 +0000)]
Cleanup references to old check_udp and INSTALL_OPTS. Error if
--with-nagios-user or --with-nagios-group specified for configure

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

18 years agocheck_udp.c deprecated and check_udp now linked to check_tcp. check_udp2 removed
Ton Voon [Fri, 28 Jul 2006 22:44:11 +0000 (22:44 +0000)]
check_udp.c deprecated and check_udp now linked to check_tcp. check_udp2 removed

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

18 years agoExample ranges (Nathan Vonnahme)
Ton Voon [Thu, 27 Jul 2006 11:29:09 +0000 (11:29 +0000)]
Example ranges (Nathan Vonnahme)

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

18 years agoStricter autoconf 2.60 rules (Lance Albertson - 1522900)
Ton Voon [Wed, 19 Jul 2006 23:05:31 +0000 (23:05 +0000)]
Stricter autoconf 2.60 rules (Lance Albertson - 1522900)

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

18 years agoFix to add uintmax_t, for check_disk.c compile
Ton Voon [Wed, 19 Jul 2006 22:56:48 +0000 (22:56 +0000)]
Fix to add uintmax_t, for check_disk.c compile

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

18 years agoFix for CHAR_MAX on Solaris 9
Ton Voon [Wed, 19 Jul 2006 22:37:36 +0000 (22:37 +0000)]
Fix for CHAR_MAX on Solaris 9

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

18 years agoMissing header files
Ton Voon [Fri, 14 Jul 2006 09:47:25 +0000 (09:47 +0000)]
Missing header files

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

18 years agoFix inode percents using coreutils' percentage calculation technique
Ton Voon [Fri, 14 Jul 2006 09:43:59 +0000 (09:43 +0000)]
Fix inode percents using coreutils' percentage calculation technique

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

18 years agoMajor fixes to check_disk. Now should return same data as df
Ton Voon [Thu, 13 Jul 2006 23:58:00 +0000 (23:58 +0000)]
Major fixes to check_disk. Now should return same data as df

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

18 years agoMove new util_* functions to lib/
Ton Voon [Thu, 13 Jul 2006 12:50:23 +0000 (12:50 +0000)]
Move new util_* functions to lib/

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

18 years agoUsing coreutils' base_name function because of portability issues with
Ton Voon [Thu, 13 Jul 2006 08:54:57 +0000 (08:54 +0000)]
Using coreutils' base_name function because of portability issues with
Tru64

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

18 years agoAdded -E option for exact match of filesystem. Restructured main filesystem
Ton Voon [Wed, 12 Jul 2006 22:53:27 +0000 (22:53 +0000)]
Added -E option for exact match of filesystem. Restructured main filesystem
loop. Added extra tests for possible duplicate filesystems.

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

18 years agoMoving parameter_list into utils_disk.h. Given list of mount points, can
Ton Voon [Wed, 12 Jul 2006 19:30:20 +0000 (19:30 +0000)]
Moving parameter_list into utils_disk.h. Given list of mount points, can
now work out best match or exact match.

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

18 years agoMoving check_disk functions into utils_disk.c and testing them
Ton Voon [Wed, 12 Jul 2006 12:15:42 +0000 (12:15 +0000)]
Moving check_disk functions into utils_disk.c and testing them

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

18 years agoExtra files from coreutils required for getloadavg.c to compile
Ton Voon [Tue, 11 Jul 2006 12:38:09 +0000 (12:38 +0000)]
Extra files from coreutils required for getloadavg.c to compile
on Tru64 (Ciro Iriarte - 1520331)

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

18 years agoDidn't add intprops.h into distribution correctly
Ton Voon [Mon, 10 Jul 2006 08:44:39 +0000 (08:44 +0000)]
Didn't add intprops.h into distribution correctly

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

18 years agoAdded check for two arguments. Was segfaulting if no or one arg. Now returns
Harper Mann [Fri, 7 Jul 2006 06:36:03 +0000 (06:36 +0000)]
Added check for two arguments.  Was segfaulting if no or one arg.  Now returns
help.

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

18 years agoFixed checking of return codes from external mailq programs
Ton Voon [Wed, 5 Jul 2006 13:45:57 +0000 (13:45 +0000)]
Fixed checking of return codes from external mailq programs

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

18 years agoAdd instructions for manually sending Tinderbox build logs
Ton Voon [Wed, 5 Jul 2006 08:55:49 +0000 (08:55 +0000)]
Add instructions for manually sending Tinderbox build logs

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

18 years agoMissing intprops.h for Tru64 (Ciro Iriarte - 1517379)
Ton Voon [Wed, 5 Jul 2006 08:26:48 +0000 (08:26 +0000)]
Missing intprops.h for Tru64 (Ciro Iriarte - 1517379)

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

18 years agoAdded alloca.h check and fixed locale.h, wchar.h (Ari Pollak - 1516578)
Ton Voon [Tue, 4 Jul 2006 09:47:44 +0000 (09:47 +0000)]
Added alloca.h check and fixed locale.h, wchar.h (Ari Pollak - 1516578)

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

18 years agoFixed -p getopt call (Allan Bennett - 1511650)
Ton Voon [Mon, 3 Jul 2006 08:03:37 +0000 (08:03 +0000)]
Fixed -p getopt call (Allan Bennett - 1511650)

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

18 years agoFixed compile on Tru64 5.1b (Ciro Iriarte - 1515435)
Ton Voon [Mon, 3 Jul 2006 07:55:52 +0000 (07:55 +0000)]
Fixed compile on Tru64 5.1b (Ciro Iriarte - 1515435)

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

18 years agocleaning help and usage
Benoit Mortier [Wed, 21 Jun 2006 11:05:00 +0000 (11:05 +0000)]
cleaning help and usage

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

18 years agofixing bug id #1509699
Benoit Mortier [Wed, 21 Jun 2006 09:49:56 +0000 (09:49 +0000)]
fixing bug id #1509699

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

18 years agocleaning help and usage + license
Benoit Mortier [Tue, 20 Jun 2006 11:17:03 +0000 (11:17 +0000)]
cleaning help and usage + license

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

18 years agoupdating help and usage and license
Benoit Mortier [Sun, 18 Jun 2006 19:36:48 +0000 (19:36 +0000)]
updating help and usage and license

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

18 years agocleaning up help and usage
Benoit Mortier [Sat, 17 Jun 2006 12:28:43 +0000 (12:28 +0000)]
cleaning up help and usage

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

18 years agocleaning help and usage
Benoit Mortier [Thu, 15 Jun 2006 12:52:25 +0000 (12:52 +0000)]
cleaning help and usage

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

18 years agocleaning help and usage
Benoit Mortier [Thu, 15 Jun 2006 10:16:47 +0000 (10:16 +0000)]
cleaning help and usage

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

18 years agoupdating the help and usage for localization
Benoit Mortier [Wed, 14 Jun 2006 21:27:38 +0000 (21:27 +0000)]
updating the help and usage for localization

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

18 years agoUpdated requirements for development platform
Ton Voon [Wed, 14 Jun 2006 19:15:03 +0000 (19:15 +0000)]
Updated requirements for development platform

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

18 years agostarting the BIG locale update ;-)
Benoit Mortier [Wed, 14 Jun 2006 18:48:59 +0000 (18:48 +0000)]
starting the BIG locale update ;-)

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

18 years agosome gratuitous whitespace changes, and a fix to the "recovery =" detection
M. Sean Finney [Wed, 7 Jun 2006 14:28:33 +0000 (14:28 +0000)]
some gratuitous whitespace changes, and a fix to the "recovery =" detection
logic in check_linux_raid.pl

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

18 years agoremoved stale references to PATH_TO_NTPFOO, as it's no longer used.
M. Sean Finney [Wed, 7 Jun 2006 14:23:12 +0000 (14:23 +0000)]
removed stale references to PATH_TO_NTPFOO, as it's no longer used.

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

18 years agoDo not install setuid programs unless run as root
Ton Voon [Wed, 7 Jun 2006 07:59:32 +0000 (07:59 +0000)]
Do not install setuid programs unless run as root

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

18 years agoFixed two build problems re: libtool and pst3
Ton Voon [Wed, 7 Jun 2006 07:18:12 +0000 (07:18 +0000)]
Fixed two build problems re: libtool and pst3

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

18 years agomodify the is_pg_dbname() function to allow databases with '-' in their name.
M. Sean Finney [Tue, 6 Jun 2006 16:48:48 +0000 (16:48 +0000)]
modify the is_pg_dbname() function to allow databases with '-' in their name.
reference: sf tracker #1500752

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

18 years agoremoved the -R for openssl, as it should be figured out automatically by
M. Sean Finney [Sat, 3 Jun 2006 23:06:19 +0000 (23:06 +0000)]
removed the -R for openssl, as it should be figured out automatically by
libtool and also controlled via the --enable-rpath/--disable-rpath configure
options.  furthermore keeping it in forces the rpath option on in spite of
what's passed on the configure line.

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

18 years agogave some TLC to check_linux_raid
M. Sean Finney [Thu, 1 Jun 2006 22:30:51 +0000 (22:30 +0000)]
gave some TLC to check_linux_raid

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

18 years agoDefault to search path for mysql_config
Ton Voon [Tue, 30 May 2006 09:55:31 +0000 (09:55 +0000)]
Default to search path for mysql_config

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

18 years agoFor reporting check_radius compile problem
Ton Voon [Tue, 30 May 2006 09:39:33 +0000 (09:39 +0000)]
For reporting check_radius compile problem

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

18 years agoAdded libtool files, at version 1.5.22, into CVS
Ton Voon [Tue, 30 May 2006 09:19:47 +0000 (09:19 +0000)]
Added libtool files, at version 1.5.22, into CVS

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

18 years agoApplied patch for responses from helpers/relays, cleaned up different coding styles...
Ethan Galstad [Thu, 25 May 2006 17:40:19 +0000 (17:40 +0000)]
Applied patch for responses from helpers/relays, cleaned up different coding styles for consistency

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

18 years agoRemoved unnecessary file
Ton Voon [Thu, 25 May 2006 16:59:56 +0000 (16:59 +0000)]
Removed unnecessary file

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

18 years agoGettext fixes to sync with coreutils
Ton Voon [Thu, 25 May 2006 16:58:10 +0000 (16:58 +0000)]
Gettext fixes to sync with coreutils

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

18 years agoFixed short interface name length, UNKNOWN return code (patches from tracker)
Ethan Galstad [Thu, 25 May 2006 16:53:42 +0000 (16:53 +0000)]
Fixed short interface name length, UNKNOWN return code (patches from tracker)

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

18 years agoOption to invert results from a regexp pattern match
Ton Voon [Thu, 25 May 2006 15:34:54 +0000 (15:34 +0000)]
Option to invert results from a regexp pattern match

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

18 years agoUse coreutils' regexp libraries, so regexp always available now
Ton Voon [Thu, 25 May 2006 12:33:24 +0000 (12:33 +0000)]
Use coreutils' regexp libraries, so regexp always available now

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

18 years agoSync with coreutils 5.96
Ton Voon [Thu, 25 May 2006 12:13:33 +0000 (12:13 +0000)]
Sync with coreutils 5.96

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

18 years agoFix for mysql 3.x (Jeremy Reed, Michael Tiernan - 1491936)
Ton Voon [Wed, 24 May 2006 12:48:07 +0000 (12:48 +0000)]
Fix for mysql 3.x (Jeremy Reed, Michael Tiernan - 1491936)

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

18 years agoReminder of no inline variable declarations
Ton Voon [Wed, 24 May 2006 09:23:50 +0000 (09:23 +0000)]
Reminder of no inline variable declarations

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

18 years agoVariables need to be declared at top of code for better portability
Ton Voon [Wed, 24 May 2006 09:05:35 +0000 (09:05 +0000)]
Variables need to be declared at top of code for better portability
(Gerhard Lausser)

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

18 years agoRequirement of automake 1.8.3, as coreutils needs it
Ton Voon [Fri, 19 May 2006 21:41:03 +0000 (21:41 +0000)]
Requirement of automake 1.8.3, as coreutils needs it

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

18 years agoAdding more required files from gettext
Ton Voon [Fri, 19 May 2006 21:30:59 +0000 (21:30 +0000)]
Adding more required files from gettext

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

18 years agoBug in Makefile.am creation
Ton Voon [Thu, 18 May 2006 23:17:40 +0000 (23:17 +0000)]
Bug in Makefile.am creation

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

18 years agoFixes from coreutils sync: some files now required and removed generateable files
Ton Voon [Thu, 18 May 2006 23:09:03 +0000 (23:09 +0000)]
Fixes from coreutils sync: some files now required and removed generateable files

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

18 years agoSynchronise with coreutils 2.95. Gettext now synced with coreutils,
Ton Voon [Thu, 18 May 2006 22:05:43 +0000 (22:05 +0000)]
Synchronise with coreutils 2.95. Gettext now synced with coreutils,
so no longer development platform requirement

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

18 years agoFix for loading SSL libraries at runtime
Ton Voon [Wed, 17 May 2006 10:10:10 +0000 (10:10 +0000)]
Fix for loading SSL libraries at runtime

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

18 years agoFix compile problems on Solaris for pst3 and ssl libs
Ton Voon [Wed, 17 May 2006 08:56:06 +0000 (08:56 +0000)]
Fix compile problems on Solaris for pst3 and ssl libs

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

18 years agocheck_disk_snmp.pl removed. Notice added to CHANGES
Ton Voon [Mon, 15 May 2006 13:20:51 +0000 (13:20 +0000)]
check_disk_snmp.pl removed. Notice added to CHANGES

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

18 years agoChanged snapshot generator due to cvs changes on SF
Ton Voon [Mon, 15 May 2006 13:07:19 +0000 (13:07 +0000)]
Changed snapshot generator due to cvs changes on SF

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

18 years agoLeavers process documented
Ton Voon [Wed, 3 May 2006 14:12:38 +0000 (14:12 +0000)]
Leavers process documented

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

18 years agoInode thresholds not always being initialised (James Fidell - 1476457)
Ton Voon [Tue, 2 May 2006 08:30:21 +0000 (08:30 +0000)]
Inode thresholds not always being initialised (James Fidell - 1476457)

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

18 years agoNew check_ntp and check_apt plugins by Sean
Ton Voon [Tue, 2 May 2006 08:21:38 +0000 (08:21 +0000)]
New check_ntp and check_apt plugins by Sean

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

18 years ago- check_ntp:
M. Sean Finney [Mon, 1 May 2006 21:52:42 +0000 (21:52 +0000)]
- check_ntp:
  - now roughly feature-complete.
  - various bugfixes, esp. offset calculation.
  - enhanced the asynchronous offset polling to set requests that
    haven't recieved a response in >= 1 second to stale and retransmit them,
    which results in much better performance on unreliable networks.
  - we only spend timeout/2 seconds polling offsets, and if we don't get
    everything by that point we work with what we have and set status to
    warning/critical depending on how much data we have.
  - set the same defaults as the perl script.
- commit changes to configure.in to support automatic building of check_apt
  (if apt-get is installed and regex libraries available) and check_ntp
  (unconditionally), now defaulting to check_ntp.c instead of the perl script.
  if this is an issue we can back out the commit of course.  an eye
  should be kept on check_ntp building and running correctly in different
  environments, esp. 64-bit and big-endian platforms, and those with more
  "esoteric" API's (do any of the platforms not have poll()?).
- similar changes to Makefile.am's.
- common.h: add statement to include sys/poll.h
- runcmd.c: exit STATE_UNKNOWN if execve() fails.

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

18 years agoRemove stupid error where pst3 was always compiled
Ton Voon [Fri, 28 Apr 2006 15:52:31 +0000 (15:52 +0000)]
Remove stupid error where pst3 was always compiled

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

18 years agoAdded pst3 into distribution (Jason Kau - 1476451)
Ton Voon [Fri, 28 Apr 2006 08:45:24 +0000 (08:45 +0000)]
Added pst3 into distribution (Jason Kau - 1476451)

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

18 years agoInternal version of basename if one not found in system
Ton Voon [Thu, 27 Apr 2006 13:25:10 +0000 (13:25 +0000)]
Internal version of basename if one not found in system

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

18 years agoFix check_nagios tests on MacOSX 10.4
Ton Voon [Wed, 19 Apr 2006 09:33:44 +0000 (09:33 +0000)]
Fix check_nagios tests on MacOSX 10.4

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

18 years agoChangeLog update - release pending
Subhendu Ghosh [Wed, 19 Apr 2006 03:47:46 +0000 (03:47 +0000)]
ChangeLog update - release pending

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

18 years agoversion update - release pending
Subhendu Ghosh [Wed, 19 Apr 2006 03:42:34 +0000 (03:42 +0000)]
version update - release pending

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

18 years agoFinal commit of fr.po
Benoit Mortier [Mon, 17 Apr 2006 21:08:52 +0000 (21:08 +0000)]
Final commit of fr.po

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

18 years agoanother big chunk of fr.po
Benoit Mortier [Mon, 17 Apr 2006 13:54:41 +0000 (13:54 +0000)]
another big chunk of fr.po

Still 20 to go ;)

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

18 years agobig revision of po file for 1.4.3
Benoit Mortier [Sun, 16 Apr 2006 14:24:02 +0000 (14:24 +0000)]
big revision of po file for 1.4.3

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

18 years agosecond part of fr.po updating
Benoit Mortier [Sat, 15 Apr 2006 10:46:06 +0000 (10:46 +0000)]
second part of fr.po updating

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

18 years agoupdated pot file
Benoit Mortier [Fri, 14 Apr 2006 22:44:35 +0000 (22:44 +0000)]
updated pot file
sarted updating fr.po for nagios 1.4.3

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

18 years agothe offset_requests are now parallelized. still stuff needs to be
M. Sean Finney [Wed, 12 Apr 2006 10:00:23 +0000 (10:00 +0000)]
the offset_requests are now parallelized.  still stuff needs to be
done (conveniently marked with XXX), but on well behaving networks
the plugin should behave more or less identical to check_ntp.pl now.

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

18 years agoadded a currently unused but "good for reference" version of offset_request
M. Sean Finney [Wed, 12 Apr 2006 06:33:14 +0000 (06:33 +0000)]
added a currently unused but "good for reference" version of offset_request
which attempts to behave more like ntpdate, but this doesn't yet and
the code isn't actually used yet.

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

18 years agoanother big code-commit to check_ntp. jitter calculations now work, and
M. Sean Finney [Tue, 11 Apr 2006 23:24:07 +0000 (23:24 +0000)]
another big code-commit to check_ntp.  jitter calculations now work, and
the program is becoming much closer on the packet-for-packet level to
how check_ntp.pl behaves.  i'll send an email in the morning :)

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

18 years agoStop coredump on Solaris if arg not specified (Jason Kau - 1465288)
Ton Voon [Thu, 6 Apr 2006 10:08:57 +0000 (10:08 +0000)]
Stop coredump on Solaris if arg not specified (Jason Kau - 1465288)

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

18 years agoNotice added re: check_udp in next release
Ton Voon [Wed, 5 Apr 2006 08:11:12 +0000 (08:11 +0000)]
Notice added re: check_udp in next release

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

18 years agoUse pid_t for pids (1463853)
Ton Voon [Wed, 5 Apr 2006 08:06:19 +0000 (08:06 +0000)]
Use pid_t for pids (1463853)

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

18 years agoAllow multiple -k parameters (Gerd Mueller - 1457726)
Ton Voon [Wed, 5 Apr 2006 07:58:29 +0000 (07:58 +0000)]
Allow multiple -k parameters (Gerd Mueller - 1457726)

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

18 years agofinally??? cvs works again???? let me dig up my week-old cvs
M. Sean Finney [Wed, 5 Apr 2006 06:58:34 +0000 (06:58 +0000)]
finally??? cvs works again????  let me dig up my week-old cvs
commit message.....

i'm becoming very happy with check_apt now :)
- now has support for an externally (configure.in) path to apt-get,
  though i still have that in #ifdefs for the time being.
- support for defining what packages are "critical updates", via
  the already-existing security regexp or overridable on the cmdline
- allow overriding of apt-get cmdline options
- introduce a "no upgrade" in case someone just wants to check that
  they can download the package lists with -u but not check for upgrades.
  might need to change the name of this option to prevent confusion.
- improved -h documentation

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

18 years agoNew function to for escaped strings from command line for send/quit.
Ton Voon [Wed, 29 Mar 2006 16:33:36 +0000 (16:33 +0000)]
New function to for escaped strings from command line for send/quit.
Adapted from Sebastian Wiesinger's patch (1292404)

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

18 years agoWill die if signal received from a testCmd
Ton Voon [Wed, 29 Mar 2006 15:30:34 +0000 (15:30 +0000)]
Will die if signal received from a testCmd

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

18 years agoAllow 1 second delay in check_udp timeout
Ton Voon [Wed, 29 Mar 2006 14:37:58 +0000 (14:37 +0000)]
Allow 1 second delay in check_udp timeout

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

18 years agoFix possible timeout issue on hostname_invalid
Ton Voon [Wed, 29 Mar 2006 08:18:50 +0000 (08:18 +0000)]
Fix possible timeout issue on hostname_invalid

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