summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2007-05-09Fixed --help output (Ask Bjoern Hansen - #1714823)Matthias Eble1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1708 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-09added testcase to verify that old positional arguments only select one pathMatthias Eble1-3/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1707 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-03fixed backward incompatibility introduced in 1.4.8 where all partitions are ↵Matthias Eble1-0/+1
selected, if path is specified as last argument (without using -p). Thanks to Emil Michles (Emilis) on #nagios git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1706 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-02Fix check_time returning wrong OK when time is before the epoch on some archThomas Guyot-Sionnest1-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1703 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-28added test cases for check_clusterMatthias Eble1-0/+83
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1702 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-25check_load can optionally divide by number of cpusTon Voon3-3/+34
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1700 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-23#ifdef can only test a single macro, not an expression.Holger Weiss1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1699 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-20Include "utils_base.h".Holger Weiss1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1697 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-20Predeclare functions and remove unused variables.Holger Weiss1-2/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1695 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-18Revert my previous change to "-S/--skip" in favour of the two optionsHolger Weiss1-20/+45
"-E/--skip-stderr" and "-S/--skip-stdout". Both of them support omitting the number of lines to skip, in which case all output on the respective file descriptor is skipped. "--skip" is kept as an alias for "--skip-stdout" for backwards compatibility with recent releases. Also, print a message if no (non-skipped) stdout/stderr output is available. This fixes a segfault if the remote command prints no output. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1692 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15Localization and help fixes (Thanks Benoit M.)Thomas Guyot-Sionnest1-9/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1691 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15Cosmetic changeThomas Guyot-Sionnest1-8/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1690 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15Add thresholds support for check_cluster + lots of standardization.Thomas Guyot-Sionnest2-68/+110
Add forgotten items to NEWS. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1688 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15Fix bug #1344584: Counter64 values not handled correctlyThomas Guyot-Sionnest1-22/+26
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1687 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-14Up to revision 1.35, the "-S" option skipped the specified number ofHolger Weiss1-9/+12
lines written to stderr. With revision 1.36 and newer, "-S" skipped the specified number of lines written to stdout. Now, "-S" skips the specified number of lines written to stderr; and if the number specified via "-S" minus the number of lines written to stderr is larger than 0, the difference is used as the number of lines written to stdout to skip. Also, the "--help" output was fixed. (Hector - 1675286) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1685 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-13... Some CVS magic tooThomas Guyot-Sionnest1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1684 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-13automake magic for check_clusterThomas Guyot-Sionnest2-1/+234
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1683 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-10- Fix possibility of printing scientific numbers in perfdataThomas Guyot-Sionnest1-12/+36
- Use fperfdata function for perfdata formatting - Make the printing part a bit more flexible (similar to check_disk) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1678 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-04Fix for getting dispersion instead of jitter on older servers (like xntpd on ↵Thomas Guyot-Sionnest1-2/+13
Solaris). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1676 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-03Fix the synchronization source selection on big-endian systems.Holger Weiss1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1675 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-03Temporary fix for jitter calculationThomas Guyot-Sionnest1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1674 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02Don't rely on the assumption that the size of a READSTAT response is aHolger Weiss1-5/+6
multiple of sizeof(ntp_assoc_status_pair). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1673 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02Fix byte order in verbose loggingThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02Seems like we don't get any jitter sometimes. While this needs to be fixed ↵Thomas Guyot-Sionnest1-1/+2
we should at least handle it gracefully. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1670 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-01check_http.t: - added internet_access variable to skip tests where internet ↵Matthias Eble1-36/+58
access is required. - added host_tcp_http2 variable for a webserver serving the string 'nagios' in index - no tests are skipped if the new vars are not defined (existing installations) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1669 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-31Fix an out-of-bounds memcpy(3) and add a realloc(3) error check inHolger Weiss1-2/+5
jitter_request(). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1666 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-31Add a warning to the verbose output if jitter_request() found noHolger Weiss1-1/+4
synchronization source. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1665 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-31Avoid division by zero.Holger Weiss1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1664 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-31Remove the '-O' option, as it's ignored.Holger Weiss1-7/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1663 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30Test Cases for check_disk's -r, -R, -C and -gMatthias Eble1-1/+36
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1660 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30check_disk: minor fix for -C if bestmatch != -pMatthias Eble1-1/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1659 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30check_disk: added regex functionality -r and -R. see np-devel mail (2007-02-10)Matthias Eble1-2/+54
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1658 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30check_disk: added grouping functionality. see np-devel mail (2007-02-10)Matthias Eble1-20/+72
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1657 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30check_disk -C is more flexible now. See np-devel post (2007-02-10)Matthias Eble1-30/+52
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1656 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-29Fix argument processing (Felix Frank - 1690697)Holger Weiss1-5/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1655 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-29Adding help text for jitter flagsTon Voon1-0/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1651 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-22Increase MAX_INPUT_BUFFER from 1k to 8k in order to increase I/OHolger Weiss1-1/+1
performance (Stefan Meier) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1646 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-12check_ping's timeout interval is only +1 if ping command has a timeout value.Ton Voon2-3/+34
Tests updated to check for 100% packet loss (always if ping has timeout), otherwise will check for "timed out" string git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1639 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11Converted check_ping.t to new-style testcases. Added test case for check_icmp -Ton Voon1-18/+65
requires sudo access git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1637 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11Fixed some help display. Removed -L from usage as deprecated optionTon Voon1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1636 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06Fix option handling (Nobuhiro Ban - 1657280)Ton Voon1-3/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1632 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06Fixed compile errors in check_smtp.cTon Voon1-11/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1631 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06Fixed broken HELO cmd (Enrico Scholz - 1675279)Ton Voon1-5/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1630 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06Use /usr/ucb/ps on Solaris in preference to pst3 (problems in 64bit mode)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1629 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06Test failure if a filesystem which is a subset of another fails the inodeTon Voon1-1/+1
check (Matthias Elbe - 1660953) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1628 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-02Fix for broken check_mrtgtrafEthan Galstad1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1624 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-14Fixed typo in help for -MTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1621 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-14Documentation fix re: --escape flag. Fix of ./check_tcp test to webserversTon Voon2-2/+5
to make it more standards compliant git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1620 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-07Include <sys/param.h> before <sys/swap.h> in order to fix compilation onHolger Weiss1-3/+3
OpenBSD (nsturm - 1653934) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-06Correct vim typo in comment block :PThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1612 f882894a-f735-0410-b71e-b25c423dba1c