[smokeping-users] RRD parameter mismatch - Wrong value of step

Julian julian04ca at yahoo.ca
Tue Oct 18 08:58:03 CEST 2011


Hi Tobi,

Nope, there is nothing to do with rrdjig. I'm not trying to save the old files, so I dont need to convert them with rrdjig.
My problem is that I can not even start the Smokeping.

I created just one FPing Probe and one Target to a LAN router... just for a test.
I executed  "# ./smokeping --debug" 2  times with a clean data directory on first command time.
This is the result:


# ./smokeping --debug
### Compiling alert detector pattern 'someloss'
### >0%,*12*,>0%,*12*,>0%
sub {............ removed as non important (I assume)}
    
Calling RRDs::create(/usr/local/smokeping/var/data/HSI/Router.rrd --start 1318919609 --step 300 DS:uptime:GAUGE:600:0:U DS:loss:GAUGE:600:0:5 DS:median:GAUGE:600:0:180 DS:ping1:GAUGE:600:0:180 DS:ping2:GAUGE:600:0:180 DS:ping3:GAUGE:600:0:180 DS:ping4:GAUGE:600:0:180 DS:ping5:GAUGE:600:0:180 RRA:AVERAGE:0.5:1:1008 RRA:AVERAGE:0.5:12:4320 RRA:MIN:0.5:12:4320 RRA:MAX:0.5:12:4320 RRA:AVERAGE:0.5:144:720 RRA:MAX:0.5:144:720 RRA:MIN:0.5:144:720)
Smokeping version 2.004002 successfully launched.
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.
FPing: probing 1 targets with step 300 s and offset 54 s.
FPing: Executing /usr/local/sbin/fping -C 5 -q -B1 -r1 -t10000 -i10 192.168.1.1
FPing: Got fping output: '192.168.1.1 : 4.20 2.29 2.66 6.27 2.26'
Calling RRDs::update(/usr/local/smokeping/var/data/HSI/Router.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1318919624:U:0:2.6600000000e-03:2.2600000000e-03:2.2900000000e-03:2.6600000000e-03:4.2000000000e-03:6.2700000000e-03)
#
# ./smokeping --debug
### Compiling alert detector pattern 'someloss'
### >0%,*12*,>0%,*12*,>0%
sub {............ removed as non important (I assume)}
   
Error: RRD parameter mismatch ('Wrong value of step: /usr/local/smokeping/var/data/HSI/Router.rrd has 621503053589119276, create string has 300'). You must delete /usr/local/smokeping/var/data/HSI/Router.rrd or fix the configuration parameters.
#


I cant figure out where from the RRD parameter  621503053589119276 is coming.

Any ideas on how to get rid of this error will be really appreciated.

Thank you,
Julian



----- Original Message ----- 
From: "Tobias Oetiker" <tobi at oetiker.ch>
To: "Julian" <julian04ca at yahoo.ca>
Cc: "G.W. Haywood" <ged at jubileegroup.co.uk>; <smokeping-users at lists.oetiker.ch>
Sent: Monday, October 17, 2011 5:03 AM
Subject: Re: [smokeping-users] RRD parameter mismatch - Wrong value of step


> Hi Julian,
> 
> to 'convert' a file from one stepping to another, you may want to
> look at the rrdjig tool
> 
> cheers
> tobi
> 
> Today Julian wrote:
> 
>> Hi Ged,
>>
>> This is quite an interesting approach.
>> Let me see what I can  get from the 2 files, as you suggested.
>>
>> Thank you,
>> Julian
>>
>> ----- Original Message -----
>> From: "G.W. Haywood" <ged at jubileegroup.co.uk>
>> To: "Julian" <julian04ca at yahoo.ca>
>> Cc: <smokeping-users at lists.oetiker.ch>
>> Sent: Monday, October 17, 2011 1:50 AM
>> Subject: Re: [smokeping-users] RRD parameter mismatch - Wrong value of step
>>
>>
>> > Hi there,
>> >
>> > On Mon, 17 Oct 2011, Julian wrote:
>> >
>> >> ...I just did a fresh install of Smokeping 2.4.2 on Solaris 10.I
>> >> hope someone can give me a hint on how to fix this error: Error: RRD
>> >> parameter mismatch ('Wrong value of step: ...  You must delete
>> >> /usr/local/smokeping/var/data/DNS/NWT/ns2_interwest.rrd or fix the
>> >> configuration parameters.
>> >
>> > I suggest that you rename the file (rather than delete it as the error
>> > message itself suggests) and let Smokeping do what it will.  My guess
>> > is that it will create a new file with the same name.  When you have
>> > the two files, you can use RRDtool to look for the differences in the
>> > parameters.  That might tell the authors something - or they may know
>> > already what it is you're looking for.  Unfortunately I don't.
>> >
>> > --
>> >
>> > 73,
>> > Ged.
>>
>> _______________________________________________
>> smokeping-users mailing list
>> smokeping-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>
>>
> 
> -- 
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20111017/e4359de8/attachment.htm 


More information about the smokeping-users mailing list