Module: check_mk
Branch: master
Commit: 74e5dee03cb3606bc57714819c658c38d2dd55fe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=74e5dee03cb360…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Tue Oct 1 18:29:19 2013 +0200
man page for new active http check testing forms submission
---
checkman/check_form_submit | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/checkman/check_form_submit b/checkman/check_form_submit
new file mode 100644
index 0000000..84ed9a0
--- /dev/null
+++ b/checkman/check_form_submit
@@ -0,0 +1,36 @@
+title: HTTP Form Check
+agents: active
+catalog: agentless
+license: GPL
+distribution: check_mk
+description:
+ This check performs HTTP requests with some advanced features like
+ a) Detecting, populating and submitting HTML forms
+ b) Accepts and uses cookies
+ c) Follos HTTP redirects
+ d) Extends HTTP headers
+
+ Several hosts may be specified at once. For this case warning an critical levels may
+ be given and are applied to the number of successful responses.
+
+ This check can be configured by WATO.
+
+ See the {usage} page of the check for details about the invocation on the command line.
+
+Examples:
+ Call the page test.php, find the single form on that page and
+ submit it with default values:
+
+ ./check_form_submit -I localhost -u /test.php
+
+ Same as above, but expect the string "Hello" in the response
+ of the form:
+
+ ./check_form_submit -I localhost -u /test.php -e "Hello"
+
+ Login as omdadmin with password omd, in the OMD site named /event,
+ let the login redirect to the wato.py and expect the string WATO
+ in this response:
+
+ ./check_form_submit -I localhost -u /event -q
'_origtarget=wato.py&_username=omdadmin&_password=omd' -e 'WATO'
+