summaryrefslogtreecommitdiffstats
path: root/plugins/tests/conf/snmpd.conf
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-07-31 06:45:30 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-07-31 07:07:38 (GMT)
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 0000000..eff5b0b
--- /dev/null
+++ b/plugins/tests/conf/snmpd.conf
@@ -0,0 +1,23 @@
1###############################################################################
2# Access Control
3###############################################################################
4
5com2sec readonly localhost public
6
7group MyROGroup v1 readonly
8group MyROGroup v2c readonly
9
10view all included .1 80
11
12access MyROGroup "" any noauth exact all none none
13
14syslocation Wonderland
15syscontact Alice
16
17
18###############################################################################
19# Embedded Subagents
20###############################################################################
21
22perl do "tests/check_snmp_agent.pl";
23