basevars.pm1
Another base class for implementing smokeping probes
Usage
menu =
Top
title =
Top
Page
menu =
First
menu
title =
First
title
host =
host1
var1 =
foo
var2 =
bar
menu =
Second
menu
title =
Second
title
host =
host2
var2 =
fii
Overview
Like probes::base, but supports host-specific variables for the probe.
Overview
Provides the method `targets' that returns a list of hashes. The hashes contain the entries:
- addr
-
The address of the target.
- vars
-
A hash containing variables defined in the corresponding `PROBE_CONF' config section.
- tree
-
The unique index that `probe::base' uses for targets.