[smokeping-users] Question about upgrading from 2.2.7 to 2.4.2

Eric Chatham echatham at broadvox.com
Thu Jun 11 18:55:16 CEST 2009


On Thursday, June 11, 2009 12:08, Ged wrote,


> I have no idea what you can have done Eric.
>
> If you did what I suggested then you would have made no change to the
> master, nor to the web server, and so there can have been no effect
> similar to what you describe.  So no change to the graphs, etc.
>
> Can you list, step-by-step, _exactly_ what you did?

I found the problem.  There was a permission issue to the /imgcache directory on the master.  That part is fixed.  The graphs are displaying properly.

>> Rather than upgrade in one fell swoop, I'd suggest that you just grab the
>> Smokeping tarball and extract it into a directory somewhere in a user's home
>> directory on the slave machines.  Then You can run the slave daemons direct from there.
>> This is what I do on my slaves at the moment.

Back to the guts.  I followed your instructions for extracting the tarball; Do I have to re-define the libraries in the header of the smokeping binary?  I did.  I re-defined the location of perl, location of RRDTool and the location of the new smokeping libraries.

I installed the extracted the smokeping tarball in /home/smokeping/alt/.  I created a smokeping symlink for /home/smokeping/alt/smokeping-2.4.2/.  I did this on the other servers and it works fine.

<----------------------
#!/usr/bin/perl -w
# -*-perl-*-

# use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
# use lib qw(lib);
use lib qw(/usr/local/rrdtool/lib/perl/5.8.6/);

use lib qw(/usr/local/rrdtool/lib);
# use lib qw(/opt/smokeping/lib);
use lib qw(/home/smokeping/alt/smokeping/lib);

use strict;
use warnings;
use Smokeping 2.004002;

Smokeping::main("etc/config.dist");
---------------------->

That part solved the problem of me starting the binary.  I am now seeing some errors regarding the FPing.pm.  Smokeping shows as running with 'top' and 'ps aux' but there are no lines for the slaves on the master URL.  On a side note: Ged, thank you for being patient with me. :)

<----------------------
[root at laxvpn001 smokeping]# killall -9 smokeping
[root at laxvpn001 smokeping]# /home/smokeping/alt/smokeping/bin/smokeping --master-url=http://server02.domain.net/smokeping/smokeping.cgi --shared-secret=/opt/smokeping/secret.txt --cache-dir=/var/tmp/
Sent data to Server and got new config in response.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 67.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 68.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 70.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 73.
### assuming you are using an fping copy reporting in milliseconds
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 67.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 68.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 70.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 73.
### assuming you are using an fping copy reporting in milliseconds
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 67.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 68.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 70.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 73.
### assuming you are using an fping copy reporting in milliseconds
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 67.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 68.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 70.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 73.
### assuming you are using an fping copy reporting in milliseconds
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 67.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 68.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 70.
Use of uninitialized value in pattern match (m//) at /home/smokeping/alt/smokeping/lib/Smokeping/probes/FPing.pm line 73.
### assuming you are using an fping copy reporting in milliseconds
Note: logging to syslog as local0/info.
Daemonizing /home/smokeping/alt/smokeping/bin/smokeping ...
[root at laxvpn001 smokeping]#
---------------------->

CONFIDENTIAL.  This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.



More information about the smokeping-users mailing list