summaryrefslogtreecommitdiffstats
path: root/plugins/tests/check_snmp_agent.pl
AgeCommit message (Collapse)AuthorFilesLines
2014-01-31Add tests for negative thresholds in check_snmpThomas Guyot-Sionnest1-7/+7
Next commit will work on fixing these!
2011-01-05Test updates...Thomas Guyot-Sionnest1-3/+4
1. Timetick test could fail with uptime > 115 days. Thresholds are double type, so it's safe to put a large number even for 32bit systems. 2. Add a test based on an invalid bug report, worthy anyway.
2010-11-15check_snmp now considers strings returned by SNMP that contain justnagios1-3/+3
numbers (according to strtod) to be a numeric value for threshold and performance data
2010-06-23Added option to invert search resultstonvoon1-3/+3
2010-06-23Added state retention APIs. Implemented for check_snmp with --rate option.Ton Voon1-3/+3
See http://nagiosplugin.org/c-api-private for more details on the API. Also updated check_snmp -l option to change the perfdata label.
2010-04-21Attempt at fixing check_snmp multiline output:Thomas Guyot-Sionnest1-6/+15
This patch tries to detect and output nicely multi-line strings. This method is broken by design; only a count of double-quotes and escapes could work in every situation.
2009-07-31Add tests using custom snmp agentThomas Guyot-Sionnest1-0/+101
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