Module: check_mk
Branch: master
Commit: eaefee9909057fbf3daacca1119c0688f3c08f47
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eaefee9909057f…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Thu Sep 19 09:47:54 2013 +0200
Updated bug entries #1057
---
.bugs/1057 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.bugs/1057 b/.bugs/1057
new file mode 100644
index 0000000..e4d27f3
--- /dev/null
+++ b/.bugs/1057
@@ -0,0 +1,10 @@
+Title: Beim Clicken auf Vorschau wird neue Angebotsnummer generiert
+Component: wato
+State: open
+Date: 2013-09-19 09:39:02
+Targetversion: future
+Class: bug
+
+Klicken man beim Erstellen eines Angebots auf den Vorschau-Button, wird anscheinend immer
+eine neue Angebotsnummer erzeugt. Sinnvoll vermutlich, dass nur das erste Mal eine Angebotsnummer
+erzeugt wird.
Module: check_mk
Branch: master
Commit: 736ef415552ccb4fef22f3967bc8b5a52a89727b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=736ef415552ccb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 19 09:25:36 2013 +0200
snapshot removal: only try to remove snapshot files
---
ChangeLog | 6 ++++--
web/htdocs/wato.py | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d8b89fd..95702e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -188,6 +188,8 @@
Host/Service/Contact Groups, Timeperiods and Roles
* Removed "do not connect" option from site socket editor. Use the
checkbox "Disable" to disable the site for multisite.
+ * ADD: Rule to check state of physical switch (currently used by etherbox check)
+ * ADD: new ruleset cisco_wlc: Allows to configure handling of missing AP
* FIX: do validation of check items in rule editor
* FIX: More consistent handling of folderpath select in rule editor
* FIX: Now correctly handling depends_on_tags on page rendering for
@@ -196,10 +198,10 @@
large" error messages during submitting forms
* FIX: automation snmp scan now adhere rules for shoddy snmp devices
which have no sys description
- * ADD: Rule to check state of physical switch (currently used by etherbox check)
* FIX: Cisco ruleset "Cisco WLC WiFi client connections" has been generalized to
"WLC WiFi client connections"
- * ADD: new ruleset cisco_wlc: Allows to configure handling of missing AP
+ * FIX: Snapshot handling is a little more robust agains manually created
+ files in snapshot directory now
Notifications:
* Flexible Notification can now filter service levels
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d3f409a..40aba20 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -5292,7 +5292,8 @@ def create_snapshot():
# Maintenance, remove old snapshots
snapshots = []
for f in os.listdir(snapshot_dir):
- snapshots.append(f)
+ if f.startswith('wato-snapshot-') and f.endswith('.tar.gz'):
+ snapshots.append(f)
snapshots.sort(reverse=True)
while len(snapshots) > config.wato_max_snapshots:
log_audit(None, "snapshot-removed", _("Removed snapshot %s") % snapshots[-1])
Module: check_mk
Branch: master
Commit: 084e128c035fda5d6cb8b6c784068869dcb83cb1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=084e128c035fda…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Sep 18 13:52:14 2013 +0200
help text for service freshness modified to explain relation to the new feature service staleness
---
web/plugins/wato/active_checks.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index e978655..2562b65 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -873,8 +873,14 @@ register_rule(group,
Dictionary(
title = _("Check freshness"),
help = _("Freshness checking is only useful for passive checks. It makes sure that passive "
- "check results are submitted on a regular base. If not, the check is being set to "
- "warning, critical or unknown."),
+ "check results are submitted on a regular basis. If not, the check is being set to "
+ "warning, critical or unknown.<br>"
+ "The freshness checking works in addition to the staleness feature. The latter grays "
+ "out passive checks for which no data were received after an interval. The interval "
+ "is calculated from the staleness value in <tt>Global Settings</tt> multiplied by "
+ "the normal check interval defined in a separate rule (default is 60sec). If you use "
+ "freshness checking you might want to modify the normal check interval for your check "
+ "as well."),
optional_keys = False,
elements = [
( "interval",