mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-18 00:37:01 +00:00
webpage: add instructions how to get output you need
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
e6e90b4d62
commit
813e320b68
1 changed files with 18 additions and 0 deletions
|
|
@ -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/man.html">manual page</a>, and
|
||||||
<a href="http://dhcpd-pools.sourceforge.net/doxygen/">Doxygen</a> software
|
<a href="http://dhcpd-pools.sourceforge.net/doxygen/">Doxygen</a> software
|
||||||
reference documentation are available online.</p>
|
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>
|
<h3>Reference information</h3>
|
||||||
<p>
|
<p>
|
||||||
<script type='text/javascript' src='https://www.openhub.net/p/dhcpd-pools/widgets/project_factoids_stats?format=js'></script>
|
<script type='text/javascript' src='https://www.openhub.net/p/dhcpd-pools/widgets/project_factoids_stats?format=js'></script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue