Module: check_mk
Branch: master
Commit: de3a43e1af4e34c42ae4984b07e0baea6be0d628
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de3a43e1af4e34…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 10 10:49:32 2010 +0100
Added more ideas for the validate checks script
---
validate_checks | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/validate_checks b/validate_checks
index 8058377..7e1f4dd 100755
--- a/validate_checks
+++ b/validate_checks
@@ -1,5 +1,13 @@
#!/usr/bin/python
+# Ideen:
+# - Reindent
+# - Header
+# - Copyright drin?
+# - Globale Variablen
+# - Zu viele?
+# - Check Namen in der Variable?
+
import os, sys
on_tty = sys.stdout.isatty()
@@ -107,7 +115,7 @@ def is_valid_pnp_rra(check):
def verify_pnp_rra(check):
return os.path.exists('pnp-rraconf/check_mk-%s.rra.cfg' % check)
-
+
# 1) Perform checks
#
results = {}