Module: check_mk
Branch: master
Commit: 679135ef57fc0900ce618fa2edd3bdcd595c6ccc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=679135ef57fc09…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 25 10:52:54 2011 +0100
Removed shebang in the middle of file
---
README.writing_checks | 6 ++++++
doc/helpers/df_magic_number.py | 2 --
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/README.writing_checks b/README.writing_checks
index feaffd1..3490073 100644
--- a/README.writing_checks
+++ b/README.writing_checks
@@ -1,5 +1,8 @@
This file will help you to write *good* checks for Check_MK.
+Check Naming:
+*
+
Code styling:
* Use four spaces for intending your code. Just don't use tab chars.
And if you relly can't life without tabs set the tab width to 8 spaces.
@@ -8,6 +11,9 @@ Manpages:
*
Performance data:
+* Only set perfdata flag when the check really produces performance data
+ output.
+
* All performance data checks need to provide a pnp template
* pnp rra configuration
diff --git a/doc/helpers/df_magic_number.py b/doc/helpers/df_magic_number.py
index 8efe220..13b3ec9 100755
--- a/doc/helpers/df_magic_number.py
+++ b/doc/helpers/df_magic_number.py
@@ -24,8 +24,6 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-#!/usr/bin/python
-
normsize = 20.0
import sys