From 8a96ee4741633cf8e832903f7ce0f542a77dbed8 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 31 Jul 2009 02:45:30 -0400 Subject: Add tests using custom snmp agent 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 --- plugins/tests/conf/snmpd.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/tests/conf/snmpd.conf (limited to 'plugins/tests/conf') diff --git a/plugins/tests/conf/snmpd.conf b/plugins/tests/conf/snmpd.conf new file mode 100644 index 00000000..eff5b0b3 --- /dev/null +++ b/plugins/tests/conf/snmpd.conf @@ -0,0 +1,23 @@ +############################################################################### +# Access Control +############################################################################### + +com2sec readonly localhost public + +group MyROGroup v1 readonly +group MyROGroup v2c readonly + +view all included .1 80 + +access MyROGroup "" any noauth exact all none none + +syslocation Wonderland +syscontact Alice + + +############################################################################### +# Embedded Subagents +############################################################################### + +perl do "tests/check_snmp_agent.pl"; + -- cgit v1.2.3-74-g34f1