summaryrefslogtreecommitdiffstats
path: root/plugins/t
AgeCommit message (Collapse)AuthorFilesLines
2008-02-28Reverted check_procs for solaris back to using pst3 due to truncationTon Voon1-12/+32
for argument fields using other methods git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Changed default test values for check_dns (using nagios.com)Ton Voon1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1902 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Reverted commits 1898 and 1899 due to reversion of 1879Ton Voon5-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08more r1879 fixesThomas Guyot-Sionnest3-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an ↵Thomas Guyot-Sionnest2-2/+2
invalid hostname on command line git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11D'oh! single escape will be handled by Perl....Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1865 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11- Fix check_ntp_peer returning misleading information when an ICMP message ↵Thomas Guyot-Sionnest1-2/+2
came back - Try to fix some servers apparently exanding the ~ in threshold ranges in t/check_ntp.t git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1864 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Fixed check_load argument handling when passing non triplet thresholds. ↵Matthias Eble1-3/+10
Thanks to Jonathan Kamens (bug #1831890) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1851 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-04Merge changes from branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)Thomas Guyot-Sionnest1-19/+73
NEWS | 13 plugins/Makefile.am | 8 plugins/check_ntp_peer.c | 628 ++++++++++++++++------------------------------- plugins/check_ntp_time.c | 323 ++---------------------- plugins/t/check_ntp.t | 92 +++++- git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1846 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22Added -i/-I to ignore pathes/partitions based on regular expressionsMatthias Eble1-2/+29
Added check_disk -A selecting all filesystems -E option must now be passed before -p or -r/-R Passing -E after -p or -r results in UNKNOWN state Fixed bug when mixing case sensitive and insensitive regexes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1786 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22Rewrite the "map changes to return codes" patch nearly from scratch.Thomas Guyot-Sionnest1-20/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1785 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21Stop double expansion of parameters for negate - works likeTon Voon2-48/+79
time command now git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-24Removing all .cvsignore filesTon Voon1-1/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1761 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-10Check_disk now calls stat() for all filesystems to check.Matthias Eble1-1/+1
Check_disk prints an strerror() message if the call of stat() fails. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1754 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-24Test for new functionality in negate (not automatically run in make test)Ton Voon1-0/+48
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1717 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-24Tests for check_dummyTon Voon1-0/+55
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1716 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-18Make check_tcp.t compatible with picky web servers.Thomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1714 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-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 Voon1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1700 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-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-12check_ping's timeout interval is only +1 if ping command has a timeout value.Ton Voon1-2/+28
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-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-02-14Documentation fix re: --escape flag. Fix of ./check_tcp test to webserversTon Voon1-1/+4
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-01Fix progname being partly set to upper caseThomas Guyot-Sionnest1-1/+1
Change formating of invalid hostname output git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1604 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-31Converted to new style object and Test::More testing. Skipped jabber serverTon Voon1-12/+22
tests if not defined git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1601 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-31Add check_jabber test. Will ask for a jabber host (default should be OK)Thomas Guyot-Sionnest1-0/+55
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1600 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30Fix reporting bug using expect, affecting (not fixing) Debian bug #392610: ↵Thomas Guyot-Sionnest1-1/+4
check_jabber always return warning git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1596 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-29Revert 1643463 (reversed disk thresholds) keeping the thresholds checks.Thomas Guyot-Sionnest1-5/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1594 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27Fix #1643463: Miscalculating thresholds check_diskThomas Guyot-Sionnest1-1/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1589 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-08Added notes about check_disk perf data fix. Added test to check perf data isTon Voon1-6/+21
same when mount points reversed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1565 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-20Removed unused timestamp variable (Matthias Eble)Ton Voon1-2/+10
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 Voon1-7/+66
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1554 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19Redirection error if other headers beginning with L (Aravind Gottipati - ↵Ton Voon1-1/+5
1562572) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1502 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19Added tests for SMTP servers without TLS and with TLSTon Voon1-4/+18
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1500 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-18Re-added perf data to check_diskTon Voon1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1498 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-12Resend EHLO after TLS negotiation as per RFC3207 (Holger Weiss - 1482832)Ton Voon1-18/+37
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1493 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-12Remove the "- free space" if status is OKTon Voon1-4/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1491 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-12Fixed output from -e in check_disk (Andreas Behal)Ton Voon1-2/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1490 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-02Fix test failure on poseidonTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1487 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-14Fixed skip of no ntp testTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1468 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-11Catch no responses from any server (1538341 - nmdias)Ton Voon1-0/+57
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1467 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-28check_udp.c deprecated and check_udp now linked to check_tcp. check_udp2 removedTon Voon1-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1459 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-13Major fixes to check_disk. Now should return same data as dfTon Voon1-29/+22
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1452 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-12Added -E option for exact match of filesystem. Restructured main filesystemTon Voon1-1/+13
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
2006-05-25Option to invert results from a regexp pattern matchTon Voon1-2/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1404 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-19Fix check_nagios tests on MacOSX 10.4Ton Voon1-7/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1382 f882894a-f735-0410-b71e-b25c423dba1c