~ubuntu-branches/debian/stretch/smokeping/stretch

« back to all changes in this revision

Viewing changes to lib/probes/basevars.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2005-03-13 13:55:44 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050313135544-185x9ub9ef5m4q64
Tags: 1.38-3
* Include missing matchers methods in binary package (Closes: #295354)
* Add missing suggests: libnet-dns-perl, ssh, libio-socket-ssl-perl,
  libnet-telnet-perl (Closes: #295372)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
The unique index that `probe::base' uses for targets.
58
58
 
 
59
There's also the method 'vars' that returns the abovementioned
 
60
hash corresponding to the 'tree' index parameter.
 
61
 
59
62
=back
60
63
 
61
64
=head1 AUTHOR
103
106
        return \@targets;
104
107
}
105
108
 
 
109
sub vars {
 
110
        my $self = shift;
 
111
        my $tree = shift;
 
112
        return $self->{PROBE_CONF}{$tree};
 
113
}
 
114
 
106
115
sub ProbeDesc {
107
116
        return "Probe that supports variables and doesn't override the ProbeDesc method";
108
117
}