Module: check_mk
Branch: master
Commit: 24274e27e4ec80be6f2213d3c3181ba0e0622c87
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=24274e27e4ec80…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 3 16:24:00 2012 +0100
Make agent_simulator and usewalk_hosts WATOable
---
web/plugins/wato/check_mk_configuration.py | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 16239a9..089c6ad 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -197,6 +197,15 @@ register_configvar(group,
"been copied here from another monitoring site.")),
need_restart = True)
+register_configvar(group,
+ "agent_simulator",
+ Checkbox(title = _("SNMP Agent Simulator"),
+ label = _("Process stored SNMP walks with agent simulator"),
+ help = _("When using stored SNMP walks you can place inline code
generating "
+ "dynamic simulation data. This feature can be activated here.
There "
+ "is a big chance that you will never need this
feature...")),
+ need_restart = True)
+
register_configvar(group,
"delay_precompile",
@@ -812,3 +821,10 @@ register_rule(group,
"<tt><HOST></tt>."),
label = _("Command line to execute")))
+register_rule(group,
+ "usewalk_hosts",
+ title = _("Hosts that simulate SNMP by using a stored SNMP walk"),
+ help = _("This ruleset helps in test and development. You can create stored SNMP
"
+ "walks on the command line with cmk --snmpwalk HOSTNAME. A host that
"
+ "is configured with this ruleset will then use the information from
that "
+ "file instead of using real SNMP. "))