summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-10-15Set proper network byte order for icmp_id and icmp_seq in icmp packetsThomas Guyot-Sionnest1-10/+11
2009-10-15Increment per-host sequence in check_icmpThomas Guyot-Sionnest2-11/+14
2009-09-26Change default for SFSNAP_DESTThomas Guyot-Sionnest1-1/+1
2009-09-26Correcting name and email addressThomas Guyot-Sionnest1-1/+1
2009-09-26Enhancements to tools/sfsnapshotgitThomas Guyot-Sionnest1-28/+46
2009-09-25Using $srcdir is the proper way to goThomas Guyot-Sionnest1-5/+3
2009-09-25Add sfsnapshotgitnagiosplugins1-0/+52
2009-09-25Allow custom versions with the release file...nagiosplugins4-3/+11
2009-09-24Updated documentation re: no equals sign and single quoteTon Voon2-3/+4
2009-09-24Updated NEWS file with docs changesTon Voon1-0/+4
2009-09-23Test, againThomas Guyot-Sionnest1-1/+1
2009-09-23TestThomas Guyot-Sionnest1-1/+1
2009-09-21Oops - wrong author/bug in last commit!Thomas Guyot-Sionnest2-2/+2
2009-09-21Add proxy-authorization option to check_http (Peter Doherty - #2863772, ↵Thomas Guyot-Sionnest3-2/+19
Bryan Irvine - #2863925)
2009-09-19Fix check_ircd binding to wrong interface (#668778)Thomas Guyot-Sionnest2-16/+8
2009-09-19Update RELEASING document with proper tag creation and push commandsThomas Guyot-Sionnest1-3/+7
2009-09-16Prep for 1.4.14 releaserelease-1.4.14Ton Voon6-7709/+11130
2009-09-14Ensure dirhandle is closed (Duncan Ferguson)Ton Voon1-0/+2
2009-09-11Fix skip numberTon Voon1-1/+1
2009-09-05Add a test that succeeds on check_snmp v1.4.13. Newer versions skip additionalThomas Guyot-Sionnest1-1/+8
lines so this new test fails on the current head. Note: check_snmp v1.4.13 with multi-line strings return somewhat v3 output; it's not exactly what the specs say but it doesn't appears to break them either. The fix could eventually supports both v2 and v3 output formats.
2009-08-05Fix segfault in check_snmp (definitive fix is still in the works - see bug ↵Thomas Guyot-Sionnest1-3/+5
#2832451)
2009-07-31Fix check_snmp passing single-quotes as -m argument when it should be emptyThomas Guyot-Sionnest1-3/+3
2009-07-31check_snmp: Add some verbose output and testsThomas Guyot-Sionnest2-3/+10
2009-07-31Add tests using custom snmp agentThomas Guyot-Sionnest3-0/+180
Only multi-line string test for now (regression test), counter rollover tests planed with my snmp_counters_new branch. NB: 64bit counters are broken in NetSNMP::agent from NetSNMP version 5.4.1 and lower, but might come in handy one day
2009-07-31Fix check_snmp Timetick test with <1 day uptimeThomas Guyot-Sionnest1-2/+2
2009-07-23Add accidentally removed line plus a note about the web copyThomas Guyot-Sionnest1-0/+4
2009-07-23Merge changes from webThomas Guyot-Sionnest1-5/+5
2009-07-17Updated links for exchange.nagios.orgTon Voon1-2/+2
2009-07-14pst3 compile with Sun Studio CompilerTon Voon3-0/+4
2009-06-22Added example for check_cluster to alert if more than X non-OK statesTon Voon1-0/+5
2009-06-16Switch back to "use Test" and plain prints instead of diag()Matthias Eble1-4/+4
2009-06-16Tinderbox output testing commitMatthias Eble1-1/+1
2009-06-15Make output of "make test" more verboseMatthias Eble2-7/+7
This is intended to make error fixing based on tinderbox output easier.
2009-06-14Fixed error in rtt/rta calculation in case of system clock problemsMatthias Eble1-1/+1
Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more. The RTA calculation hopefully gets a more accurate value in these cases also.
2009-06-13Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when ↵Matthias Eble3-9/+15
no snmp community is specified The checks for invalid/unavailable hosts need a complete command line. They failed on hosts where no community was specified. Now, an invalid community is used so the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway.
2009-06-13Further test parameters and skip blocks for check_ifoperstatus.t. ↵Matthias Eble2-23/+43
getTestparam changes for check_ifstatus.t and ifoperstatus.t Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t. Also getTestParameter calls for both plugins were converted to use three arguments instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache.
2009-06-11Merge branch 'master' of ssh://PsychoTrahe@repo.or.cz/srv/git/nagiospluginsMatthias Eble6-180/+147
2009-06-11renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatusMatthias Eble2-3/+3
check_ifstatus already used -x so both plugins can use same short option, now. to specify privacy protocol.
2009-06-11Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol ↵Matthias Eble3-105/+132
(#2343438 - Robin Schroeder) check_ifstatus didn't function correctly with SNMPv3. This is fixed now. Created argument-hash for SNMP session creation. This removes redundant code. Session creation was moved out of process_arguments() and now takes place after setting the timeout handler. Additionally the -P argument was added to specify the privprotocol.
2009-06-11Added testcases for check_ifoperstatusMatthias Eble1-0/+73
Added testcases for check_ifoperstatus. No SNMPv3 testing included for now.
2009-06-11minor fixes to check_ifoperstatusMatthias Eble1-3/+3
Minor output fixes for check_ifoperstatus. Fixed typo so that -n now implies -I as documented.
2009-06-11Use a more "natural" way of writing argument lists in extra-opts tests.Thomas Guyot-Sionnest3-173/+137
2009-06-11check_ifoperstatus is now more user friendly in case of missing argumentsMatthias Eble2-29/+26
Added proper usage messages in case of missing arguments. Removed accidently committed Data::Dumper call. Minor whitespace fixes.
2009-06-11Whitespace and indent fixes for check_ifoperstatusMatthias Eble1-109/+103
2009-06-11Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define ↵Matthias Eble2-71/+40
privprotocol (#2343438 - Robin Schroeder) check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now. Created argument-hash for SNMP session creation. This removes redundant code. Session creation was moved out of process_arguments() and now takes place after setting the timeout handler. Additionally the -x argument was added to specify the privprotocol.
2009-06-02Fix the memory allocation for the thresholds dataHolger Weiss2-1/+4
Allocate the appropriate amount of memory for storing the thresholds data. Before, we allocated the amount of memory required for storing a _pointer_ to the thresholds data. This crashed (at least) check_mysql when using its "-S" option on FreeBSD/amd64 (as reported and analyzed by Nikita Kalabukhov - 2797757). Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-06-02Don't use the plain char type for data buffersHolger Weiss1-6/+6
Buffers which are used for holding arbitrary data should be referenced using pointers to void and accessed using pointers to unsigned char. Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-06-01Whitespace indent fixes for check_pgsqlMatthias Eble1-22/+22
2009-06-01Fixed check_icmp compiler warnings by including float.hMatthias Eble1-0/+1
Self defined DBL_MAX caused compiler warnings. Now float.h which defines DBL_MAX is included.
2009-06-01Fixed --help output for warn and critical thresholds (sf.net #2796624, ↵Matthias Eble1-2/+2
debian #530553) check_icmp wrongly calculated the current thresholds in --help output.