--- bin/tSmoke.orig 2025-02-19 07:45:40 +++ bin/tSmoke 2025-02-21 05:40:35 @@ -54,7 +54,7 @@ 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; @@ -64,7 +64,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; @@ -505,34 +505,7 @@ =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 L, L