<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins/tests/check_snmp_agent.pl, branch 3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2025-09-08T13:57:06Z</updated>
<entry>
<title>check_snmp: refactoring + fixes</title>
<updated>2025-09-08T13:57:06Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2025-09-08T13:57:06Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=87195f5511bf18db2a64f71ea9783ebbfb33c3a5'/>
<id>urn:sha1:87195f5511bf18db2a64f71ea9783ebbfb33c3a5</id>
<content type='text'>
This commit moves the state retention logic to check_snmp as it is only
used there and I do not want it to be used at all, so it doesn't get a
place in the lib.

Otherwise this adapts tests and fixes the rate computing in the
refactored version of check_snmp.
Also fixes some bugs detected with the tests
</content>
</entry>
<entry>
<title>Improve tests for check_snmp &amp; multiply option</title>
<updated>2022-12-22T11:54:51Z</updated>
<author>
<name>Robert Bohne</name>
<email>robert.bohne@redhat.com</email>
</author>
<published>2022-11-11T10:10:44Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=def946bd9792ffff34b865449b18eea6e8f116af'/>
<id>urn:sha1:def946bd9792ffff34b865449b18eea6e8f116af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for negative thresholds in check_snmp</title>
<updated>2014-01-31T05:48:49Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2014-01-31T05:04:50Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c4e3cd6efd5aef8665db103a66996e619526ab3b'/>
<id>urn:sha1:c4e3cd6efd5aef8665db103a66996e619526ab3b</id>
<content type='text'>
Next commit will work on fixing these!
</content>
</entry>
<entry>
<title>Test updates...</title>
<updated>2011-01-06T04:09:54Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2011-01-06T04:09:54Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ae2a66913706e4cb3fc870485abe34c0f3696124'/>
<id>urn:sha1:ae2a66913706e4cb3fc870485abe34c0f3696124</id>
<content type='text'>
1. Timetick test could fail with uptime &gt; 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.
</content>
</entry>
<entry>
<title>check_snmp now considers strings returned by SNMP that contain just</title>
<updated>2010-11-15T15:43:41Z</updated>
<author>
<name>nagios</name>
<email>nagios@opsviewdev32.(none)</email>
</author>
<published>2010-11-15T15:43:41Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=896962a1ad1b7d7c75d42c565b06cc799feb0a7c'/>
<id>urn:sha1:896962a1ad1b7d7c75d42c565b06cc799feb0a7c</id>
<content type='text'>
numbers (according to strtod) to be a numeric value for threshold and
performance data
</content>
</entry>
<entry>
<title>Added option to invert search results</title>
<updated>2010-06-23T15:56:29Z</updated>
<author>
<name>tonvoon</name>
<email>ton.voon@opsview.com</email>
</author>
<published>2010-06-23T15:56:29Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b8e2850c1add8031a11d951bec1459b203582299'/>
<id>urn:sha1:b8e2850c1add8031a11d951bec1459b203582299</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added state retention APIs. Implemented for check_snmp with --rate option.</title>
<updated>2010-06-23T13:30:34Z</updated>
<author>
<name>Ton Voon</name>
<email>ton.voon@opsera.com</email>
</author>
<published>2010-06-17T09:16:43Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=18f6835edaf7d640a2c9e476cb1babdbdadbfd9b'/>
<id>urn:sha1:18f6835edaf7d640a2c9e476cb1babdbdadbfd9b</id>
<content type='text'>
See http://nagiosplugin.org/c-api-private for more details on the API.

Also updated check_snmp -l option to change the perfdata label.
</content>
</entry>
<entry>
<title>Attempt at fixing check_snmp multiline output:</title>
<updated>2010-04-22T02:04:28Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2009-09-17T04:49:56Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=582034478b3ac7995f01a5f639c8d0604f3f432b'/>
<id>urn:sha1:582034478b3ac7995f01a5f639c8d0604f3f432b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add tests using custom snmp agent</title>
<updated>2009-07-31T07:07:38Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2009-07-31T06:45:30Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8a96ee4741633cf8e832903f7ce0f542a77dbed8'/>
<id>urn:sha1:8a96ee4741633cf8e832903f7ce0f542a77dbed8</id>
<content type='text'>
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
</content>
</entry>
</feed>
