webpage: add instructions how to get output you need

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-15 20:09:52 +00:00
parent e6e90b4d62
commit 813e320b68
No known key found for this signature in database
GPG key ID: A9553245FDE9B739

View file

@ -66,6 +66,24 @@ file.
<a href="http://dhcpd-pools.sourceforge.net/man.html">manual page</a>, and
<a href="http://dhcpd-pools.sourceforge.net/doxygen/">Doxygen</a> software
reference documentation are available online.</p>
<h3>Getting the output you need</h3>
<ol>
<li>Start with:<br />
<span style="font-family:monospace">dhcpd-pools --config=path
--leases=path --color=always --format=text</span></li>
<li>Play with options and see how output changes. Options to
try:<br />
<span style="font-family:monospace">--all-as-shared --crit-count
--critical --minsize --snet-alarms --warn-count
--warning</span></li>
<li>Start filtering output. Options to try:<br />
<span style="font-family:monospace">--skip --limit</span></li>
<li>Change <span style="font-family:monospace">--format</span>
option to what you need, and maybe include <span style=
"font-family:monospace">--perfdata</span> if you want nagios alarm
format.</li>
<li>Done.</li>
</ol>
<h3>Reference information</h3>
<p>
<script type='text/javascript' src='https://www.openhub.net/p/dhcpd-pools/widgets/project_factoids_stats?format=js'></script>