probes::basevars(3)         SmokePing         probes::basevars(3)



NNAAMMEE
       probes::basevars - Another Base Class for implementing
       SmokePing Probes

OOVVEERRVVIIEEWW
       Like probes::base, but supports host-specific variables
       for the probe.

SSYYNNOOPPSSIISS
        *** Targets ***

        menu = Top
        title = Top Page

        + branch_1
        menu = First menu
        title = First title
        host = host1
        ++ PROBE_CONF
        # vars for host host1
        var1 = foo
        var2 = bar

        ++ branch_1_2
        menu = Second menu
        title = Second title
        host = host2
        +++ PROBE_CONF
        # vars for host host2
        # var1 and var2 are propagated from above, override var2
        var2 = fii

        + branch_2
        # var1 and var2 are undefined here

DDEESSCCRRIIPPTTIIOONN
       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 correspond-
           ing `PROBE_CONF' config section.

       tree
           The unique index that `probe::base' uses for targets.

AAUUTTHHOORR
       Niko Tyni <ntyni@iki.fi>

BBUUGGSS
       Uses `probes::base' internals too much to be a derived
       class, but I didn't want to touch the base class directly.

SSEEEE AALLSSOO
       _p_r_o_b_e_s_:_:_b_a_s_e(3pm), _p_r_o_b_e_s_:_:_E_c_h_o_P_i_n_g(3pm)



1.30                        2003-03-20        probes::basevars(3)
