summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2009-01-05 18:28:52 +0100
committerTobi Oetiker <tobi@oetiker.ch>2009-01-05 18:28:52 +0100
commit428b580ac543bef7c96899dd1e30ffae46a6ea3e (patch)
treed68fc099b1a1585b4a22fd49933cc2fb3eacf458 /bin
parentefdba627ad20b396b7c9ce080200ee62bd066f84 (diff)
downloadsmokeping-428b580ac543bef7c96899dd1e30ffae46a6ea3e.tar.gz
smokeping-428b580ac543bef7c96899dd1e30ffae46a6ea3e.tar.xz
added some examples
Diffstat (limited to 'bin')
-rwxr-xr-xbin/smokeinfo18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo
index a143abc..77b3653 100755
--- a/bin/smokeinfo
+++ b/bin/smokeinfo
@@ -72,6 +72,24 @@ B<smokeinfo> path/to/config.cfg [I<options>]
SmokeInfo is a simple frontend to the L<Smokeping::Info> 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.