Module: check_mk
Branch: master
Commit: 822e92b48662b2de5b13ba605484f6ba7ce145c6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=822e92b48662b2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 6 13:45:30 2015 +0200
nginx_status: added missing example output
---
checks/nginx_status | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/checks/nginx_status b/checks/nginx_status
index f81d73f..e490339 100644
--- a/checks/nginx_status
+++ b/checks/nginx_status
@@ -24,6 +24,13 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
+# Example output:
+# <<<nginx_status>>>
+# 127.0.0.1 80 Active connections: 1
+# 127.0.0.1 80 server accepts handled requests
+# 127.0.0.1 80 12 12 12
+# 127.0.0.1 80 Reading: 0 Writing: 1 Waiting: 0
+
def nginx_status_parse(info):
if len(info) != 4:
return {} # skip unknown data format