summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-01-29Automake 1.10 says: "compiling `test_disk.c' with per-target flagsHolger Weiss1-0/+2
requires `AM_PROG_CC_C_O' in `configure.in'". git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1593 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-29Move config.rpath into build-aux for automake 1.10Ton Voon1-0/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1592 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-28Remove description of deprecated ./configure --with-nagios-{user,group}Holger Weiss1-6/+2
options. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1591 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-28Don't try to print `optarg' (which will be a NULL pointer) if an unknownHolger Weiss38-39/+47
command line option was used, as this leads to a segfault on some systems. The unknown option will be printed by getopt(3) anyway. So, simply call print_usage() and exit UNKNOWN via the new usage5() instead. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1590 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Fix #1643463: Miscalculating thresholds check_diskThomas Guyot-Sionnest2-5/+23
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1589 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Change the variable names `true' and `false' (which are keywords in C99)Holger Weiss1-11/+11
to `yes' and `no'. Fixes compilation when using SGI's MIPSpro c99(1). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1588 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Include GNULib's "dirname.h" in order to pull in the base_name()Holger Weiss1-0/+1
prototype, fixes compilation of check_procs using SGI's MIPSpro C. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1587 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Fix typos.Holger Weiss2-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1586 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) andHolger Weiss1-0/+1
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1585 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Include <sys/param.h> which is a prerequisite for <sys/sysctl.h> onHolger Weiss1-0/+1
NetBSD and OpenBSD (at least). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1584 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-25Update references to NEWS instead of CHANGES. Fix compile of libtapTon Voon4-5/+5
test programs git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1583 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-25Use build-aux directory. Removed unnecessary checks in configure.in.Ton Voon5-3045/+10
Keeping libtool to link to libtap - can't find a suitable replacement method git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1582 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24Various cleanups in the syncing with gnulibTon Voon9-19/+676
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1581 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24Sync with gnulib - lots of extraneous code removed in preference to GNU codeTon Voon230-5885/+12681
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23Support `check_ssh --hostname=ADDRESS' (but keep `--host=ADDRESS' for backwardHolger Weiss2-1/+3
compatibility) (Ville Mattila - 1642780) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23Location updatesHolger Weiss1-21/+18
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1578 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23Add missing `break' to the switch-case block that handles the `-m' optionHolger Weiss1-0/+1
(Nobuhiro Ban - 1642682) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1577 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23Initialize `data' to zero, fixes potential segfault (Nobuhiro Ban - 1642658)Holger Weiss2-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1576 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23Add support for statvfs(2) which is needed in order to compile the plugins onHolger Weiss1-2/+7
NetBSD 3.0 and newer. The current coreutils release supports statvfs(2), so this patch won't be needed anymore when updating the coreutils files. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1575 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-22Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) andHolger Weiss1-3/+15
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1574 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20Updated policy on contributed pluginsTon Voon1-2/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1573 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20Administrative notesTon Voon3-11/+16
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1572 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20compilation fixes for check_ntp.c:M. Sean Finney1-3/+3
- check_ntp.c:290: warning: overflow in implicit constant conversion fixed with an explicit cast to int8_t. - check_ntp.c:544: warning: pointer of type ‘void *’ used in arithmetic fixed by casting to ptrdiff_t before arithmetic and (void*) afterwards - in TVtoNTP64, cast arithmetic result passed to R32 as uint64_t. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1571 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20Fix bug #1632091: printf format string typos. Add some more cosmetic changes.Thomas Guyot-Sionnest2-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1570 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20Fix bug #1632078: critical threshold % incorrectly displayed by check_icmpThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1569 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20Fix bug #1632072 pointer error in plugins/netutils.c. Add changelog entry ↵Thomas Guyot-Sionnest3-1/+4
for previous commit. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1568 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-17Fix bug #1630970 Fix for buffer overflow of check_procs procprog stringThomas Guyot-Sionnest2-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1566 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-08Added notes about check_disk perf data fix. Added test to check perf data isTon Voon3-6/+23
same when mount points reversed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1565 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-07Fix bug #1627970: check_disk performance output for more then one partitionThomas Guyot-Sionnest1-2/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1564 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-06Fix bug #1629008: check_ping fails to handle Packet filtered errorThomas Guyot-Sionnest1-2/+14
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1563 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-06Revert last patch: it works but not really for the reason I though.Thomas Guyot-Sionnest1-5/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1562 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-06Fix the way check_ping calculate the maximum run timeThomas Guyot-Sionnest1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1561 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-04Fix bug #1574863: check_real does not accept the '-v' optionThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1560 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-04Fix bug #1592605: check_ping times outThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1559 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-04Adding my distclean scriptThomas Guyot-Sionnest2-0/+36
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1558 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-23Regexps in check_snmp tests fails where they shouldn't.Thomas Guyot-Sionnest1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1557 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-21- Fixing small error (wrong file name) in NPTest.pm documentation.Thomas Guyot-Sionnest1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1556 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-20Removed unused timestamp variable (Matthias Eble)Ton Voon4-25/+27
Fixed redirection test. Added extra tests for funny syntax when checking certificates, updated help for more common syntax git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1555 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-20Fixed inode thresholds, regressed from previous releaseTon Voon4-14/+94
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1554 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-20updated the nagios-pulgins.pot files now that localization is cleanBenoit Mortier3-6483/+7989
first pass at updating the french locale git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1553 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-12Enhanced test for single letters in fqdnTon Voon1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-12Allow single characters in fqdn (Dave Alden)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1548 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-07Fixed HP/UX's swapinfo command for check_procs (Dick van den Burg - 1573700)Ton Voon3-4/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1547 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-07Fix coredump on 64bit Solaris. Also adds more error conditions and movesTon Voon5-27/+42
swap specific includes out of common.h (Duncan Ferguson - 1588031) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1546 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06Move SSL libs to correct order per pluginTon Voon1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1545 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06Only include -lssl for plugins that require itTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1544 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06Flag common compile error because of no ar on SolarisTon Voon1-0/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1543 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06Remove CVS files from distributionTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1542 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06Add libtool requirement for developmentTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1541 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-09Reduced DNS lookups in check_ping and netutils.c in IPv6 configurationsTon Voon4-7/+15
(Pawel Malachowski) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1535 f882894a-f735-0410-b71e-b25c423dba1c