From 428b580ac543bef7c96899dd1e30ffae46a6ea3e Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 5 Jan 2009 17:28:52 +0000 Subject: added some examples --- bin/smokeinfo | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bin') diff --git a/bin/smokeinfo b/bin/smokeinfo index a143abc..77b3653 100755 --- a/bin/smokeinfo +++ b/bin/smokeinfo @@ -72,6 +72,24 @@ B path/to/config.cfg [I] SmokeInfo is a simple frontend to the L module. It provides access to numeric data stored in the rrd files. +=head2 Examples + +Get all data all nodes + + smokeinfo etc/config + +Only show nodes directly under /Customers + + smokeinfo --filter=/Customers/ etc/config + +Show all nodes under /Customers + + smokeinfo --mode=recursive --filter=/Customers/ etc/config + +Show all nodes with '_wlan_' in the name + + smokeinfo --mode=regexp --filter=_wlan_ etc/config + =head1 COPYRIGHT Copyright (c) 2009 by OETIKER+PARTNER AG. All rights reserved. -- cgit v1.2.3-24-g4f1b