diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-07-31 02:45:30 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-07-31 03:07:38 -0400 |
commit | 8a96ee4741633cf8e832903f7ce0f542a77dbed8 (patch) | |
tree | 5d237bbcca8f3c4007ead8d71170b8cd1c895408 /plugins/tests/conf | |
parent | e0be2e6094a54771a7a310eea5853d2e05edf480 (diff) | |
download | monitoring-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')
-rw-r--r-- | plugins/tests/conf/snmpd.conf | 23 |
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 @@ | |||
1 | ############################################################################### | ||
2 | # Access Control | ||
3 | ############################################################################### | ||
4 | |||
5 | com2sec readonly localhost public | ||
6 | |||
7 | group MyROGroup v1 readonly | ||
8 | group MyROGroup v2c readonly | ||
9 | |||
10 | view all included .1 80 | ||
11 | |||
12 | access MyROGroup "" any noauth exact all none none | ||
13 | |||
14 | syslocation Wonderland | ||
15 | syscontact Alice | ||
16 | |||
17 | |||
18 | ############################################################################### | ||
19 | # Embedded Subagents | ||
20 | ############################################################################### | ||
21 | |||
22 | perl do "tests/check_snmp_agent.pl"; | ||
23 | |||