--- bin/tSmoke.orig 2021-08-11 10:07:44.000000000 -0500 +++ bin/tSmoke 2021-08-12 13:19:08.000000000 -0500 @@ -53,7 +53,7 @@ # Point the lib variables to your implementation use lib (split /:/, q{}); # PERL5LIB -use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR +use FindBin;use lib "__PREFIX__/lib/smokeping/lib";use lib "__PERL5__ARCHLIB__/auto/RRDs"; # LIBDIR use Smokeping; @@ -63,7 +63,7 @@ use RRDs; # Point to your Smokeping config file -my $cfgfile = (shift @ARGV) || "$FindBin::Bin/../etc/config"; +my $cfgfile = "__PREFIX__/etc/smokeping/config"; # global variables my $cfg; @@ -504,33 +504,6 @@ =head1 SETUP -When installing tSmoke, some variables must be adjusted to fit your local system. - -We need to use the following B: - -=over - -=item Smokeping - -=item RRDTool Perl bindings - -=item Getopt::Long - -=back - -Set up your libraries: - - use lib "/usr/local/smokeping/lib"; - use lib "/usr/local/rrdtool-1.0.39/lib/perl"; - -Point to your Smokeping B file - - my $cfgfile = "/usr/local/smokeping/etc/config"; - -Modify the Smokeping config file to include a path for tmail in the -General section: - - tmail = /usr/local/smokeping/etc/tmail =head1 SEE ALSO