summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t/check_ifstatus.t
AgeCommit message (Collapse)AuthorFilesLines
2009-06-13Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when ↵Matthias Eble1-3/+5
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 Eble1-8/+10
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-11Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol ↵Matthias Eble1-0/+63
(#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.