aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/conf/snmpd.conf
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-07-31 02:45:30 -0400
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-07-31 03:07:38 -0400
commit8a96ee4741633cf8e832903f7ce0f542a77dbed8 (patch)
tree5d237bbcca8f3c4007ead8d71170b8cd1c895408 /plugins/tests/conf/snmpd.conf
parente0be2e6094a54771a7a310eea5853d2e05edf480 (diff)
downloadmonitoring-plugins-8a96ee4741633cf8e832903f7ce0f542a77dbed8.tar.gz
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
Diffstat (limited to 'plugins/tests/conf/snmpd.conf')
-rw-r--r--plugins/tests/conf/snmpd.conf23
1 files changed, 23 insertions, 0 deletions
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";
+