From 813e320b68dea6ada1124fac01fc6c40146dd50c Mon Sep 17 00:00:00 2001
From: Sami Kerola
Date: Wed, 15 Nov 2017 20:09:52 +0000
Subject: [PATCH] webpage: add instructions how to get output you need
Signed-off-by: Sami Kerola
---
webpages/index.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/webpages/index.html b/webpages/index.html
index cd5bb7f..76feeb1 100644
--- a/webpages/index.html
+++ b/webpages/index.html
@@ -66,6 +66,24 @@ file.
manual page, and
Doxygen software
reference documentation are available online.
+Getting the output you need
+
+- Start with:
+dhcpd-pools --config=path
+--leases=path --color=always --format=text
+- Play with options and see how output changes. Options to
+try:
+--all-as-shared --crit-count
+--critical --minsize --snet-alarms --warn-count
+--warning
+- Start filtering output. Options to try:
+--skip --limit
+- Change --format
+option to what you need, and maybe include --perfdata if you want nagios alarm
+format.
+- Done.
+
Reference information