Module: check_mk
Branch: master
Commit: 633a40421ba7690488bda176e675fa19ae255798
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=633a40421ba769…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 25 10:47:48 2011 +0100
Small updates for coding guidelines
---
README.writing_checks | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/README.writing_checks b/README.writing_checks
index 8eefdb2..feaffd1 100644
--- a/README.writing_checks
+++ b/README.writing_checks
@@ -1,5 +1,23 @@
This file will help you to write *good* checks for Check_MK.
+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.
+
+Manpages:
+*
+
+Performance data:
+* All performance data checks need to provide a pnp template
+
+* pnp rra configuration
+
+SNMP based checks:
+* Only use numeric OIDs in your checks. Name based OIDs rely on MIB files
+ and the check won't work when the MIB files are not in place.
+
+* Scan function:
+
Agent based checks:
* Put sample output snippets of the agent as comments into