oops, I've forget the last ":" on the update command: "rrdtool update <file name> N:100:100:"
2007/12/7, Livio Zanol Puppim <[EMAIL PROTECTED]>: > try this: > > rrdtool create <file name> --step 1 \ > DS:Test:GAUGE:15:0:u \ > DS:Test1:COUNTER:15:0:u \ > RRA:AVERAGE:0.5:1:50 > > ---------------------------------- > > After the file is created issue the command: > > rrdtool update <file name> N:100:100 > > Execute it couple of times (maybe 5 times, just to be sure.. hehehe) > then fetch the files... You should see 0.0000e+0 or something like > this and not NaNs. > > Have worked? On both DSs? > > []'s > Lívio Zanol Puppim > > 2007/12/7, İlker Aktuna (Koç. net) <[EMAIL PROTECTED]>: > > > > > > > > > > Hi, > > > > > > > > Thanks for your reply. > > > > In fact, I tried to make a simpler test with 1 DS, something like: > > > > > > > > rrdtool create x.rrd \ > > > > DS:test1:DERIVE:100:U:U \ > > > > RRA:AVERAGE:0.5:48:24 \ > > > > RRA:AVERAGE:0.5:1488:31 > > > > > > > > rrdtool update x.rrd N:13 > > > > rrdtool update x.rrd N:30 > > > > rrdtool update x.rrd N:45 > > > > > > > > But I couldn't get any values: > > > > > > > > rrdtool fetch x.rrd AVERAGE > > > > test1 > > > > > > > > 1196928000: NaN > > > > 1196942400: NaN > > > > 1196956800: NaN > > > > 1196971200: NaN > > > > 1196985600: NaN > > > > 1197000000: NaN > > > > 1197014400: NaN > > > > > > > > So, I believe that my build has some problems (although it was compiled > > successfully) > > > > What do you suggest ? > > > > > > > > Thanks, > > > > > > > > > > > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Livio Zanol Puppim > > Sent: Friday, December 07, 2007 1:13 AM > > To: [email protected] > > Subject: [rrd-users] rrdtool first use - all NaN > > > > > > > > > > > > Just a stupid question: > > > > > > > > > > > > Have you tried to update it more than once? You need 2 updates to get > > values... You can try it by creating the same RRD file with step 1 and > > repeat sometimes the command that you have used... > > > > > > > > > > > > If you are updating the RRD every 30 minutes, your step must be 1800, and > > you must wait 1 hour to see any data. You could also make the "1800" > > parameter in your DSs a little bigger > > > > > > Ex.: DS:DYB1-OUT:GAUGE:1800:0:100 > > > > > > > > > > > > > > > > > > "From rrdtool documentation: > > DS:ds-name:GAUGE | COUNTER | DERIVE | ABSOLUTE:heartbeat:min: max > > > > > > heartbeat defines the maximum number of seconds that may pass between two > > updates of this data source before the value of the data source is assumed > > to be *UNKNOWN*. > > > > min and max define the expected range values for data supplied by a data > > source. If min and/or max any value outside the defined range will be > > regarded as *UNKNOWN*. If you do not know or care about min and max, set > > them to U for unknown. Note that min and max always refer to the processed > > values of the DS. For a traffic- COUNTER type DS this would be the maximum > > and minimum data-rate expected from the device. > > > > " > > > > So, try something like this: > > > > DS:DYB1-OUT:GAUGE:2000:0:100 > > > > []'s > > > > Lívio Zanol Puppim > > > > > > 2007/12/3, İlker Aktuna (Koç. net) <[EMAIL PROTECTED]>: > > > > > > Hi, > > > > Thanks for your reply. After your reply, I issued the following command to > > update with integer values. > > But I still get "NaN" > > > > > > bash-2.05# rrdtool update /tmp/rrdbuild/ttkapasite.rrd > > N:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25:25 > > bash-2.05# /usr/local/rrdtool-1.2.19/bin/rrdtool fetch > > /tmp/rrdbuild/ttkapasite.rrd LAST > > ADANA2-IN ADANA2-OUT > > ADANA3-IN ADANA3-OUT ANK1-IN > > ANK1-OUT ANK4-IN ANK4-OUT > > ANTALYA2-IN ANTALYA2-OUT > > ANTALYA3-IN ANTALYA3-OUT BURSA2-IN > > BURSA2-OUT BURSA3-IN BURSA3-OUT > > DYB1-IN DYB1-OUT > > ERZ1-IN ERZ1-OUT IST4-IN > > IST4-OUT IST5-IN IST5-OUT > > IST6-IN IST6-OUT > > IST7-IN IST7-OUT IST8-IN > > IST8-OUT IST9-IN IST9-OUT > > ISTG1-IN ISTG1-OUT ISTG2-IN > > ISTG2-OUT IZMIR2-IN IZMIR2-OUT > > IZMIR3-IN IZMIR3-OUT > > IZMIR4-IN IZMIR4-OUT MUGLA1-IN > > MUGLA1-OUT SAMSUN1-IN SAMSUN1-OUT > > TRABZON1-IN TRABZON1-OUT > > > > 1196582400: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196596800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196611200: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196625600: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196640000: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196654400: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196668800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > bash-2.05# /usr/local/rrdtool-1.2.19/bin/rrdtool fetch > > /tmp/rrdbuild/ttkapasite.rrd AVERAGE > > ADANA2-IN ADANA2-OUT > > ADANA3-IN ADANA3-OUT ANK1-IN > > ANK1-OUT ANK4-IN ANK4-OUT > > ANTALYA2-IN ANTALYA2-OUT > > ANTALYA3-IN ANTALYA3-OUT BURSA2-IN > > BURSA2-OUT BURSA3-IN BURSA3-OUT > > DYB1-IN DYB1-OUT > > ERZ1-IN ERZ1-OUT IST4-IN > > IST4-OUT IST5-IN IST5-OUT > > IST6-IN IST6-OUT > > IST7-IN IST7-OUT IST8-IN > > IST8-OUT IST9-IN IST9-OUT > > ISTG1-IN ISTG1-OUT ISTG2-IN > > ISTG2-OUT IZMIR2-IN IZMIR2-OUT > > IZMIR3-IN IZMIR3-OUT > > IZMIR4-IN IZMIR4-OUT MUGLA1-IN > > MUGLA1-OUT SAMSUN1-IN SAMSUN1-OUT > > TRABZON1-IN TRABZON1-OUT > > > > 1196582400: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196596800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196611200: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196625600: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196640000: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196654400: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > 1196668800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN > > NaN NaN NaN NaN NaN NaN NaN NaN > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] On Behalf Of Eduardo M. > > Bragatto > > Sent: Friday, November 30, 2007 9:32 PM > > To: [email protected] > > Subject: Re: [rrd-users] rrdtool first use - all NaN > > > > İlker Aktuna ( Koç.net) wrote: > > > > > rrdtool update /tmp/rrdbuild/ttkapasite.rrd -t ADANA3-OUT N:35.48 > > > > Although other users said here that GAUGE supports floating point > > numbers, Edward Quick had the same issue as you and fixed by multiplying > > the values by 10 a few times in order to make the numbers integer before > > inserting them and he said it work (i.e. inserting 3548 instead of 35.48). > > > > Look at the archives for a recent thread with subject "unexpected > > NANs". > > > > []s > > Eduardo M. Bragatto. > > > > _______________________________________________ > > rrd-users mailing list > > [email protected] > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > _____________________________________________________________________________________________________________________________________________ > > Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger > > bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde > > kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta > > mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj > > kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac > > icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta > > mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak > > yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol > > ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek > > zararlardan dogacak hicbir sorumlulugu kabul etmez. > > This message is intended solely for the use of the individual or entity to > > whom it is addressed , and may contain confidential information. If you are > > not the intended recipient of this message or you receive this mail in > > error, you should refrain from making any use of the contents and from > > opening any attachment. In that case, please notify the sender immediately > > and return the message to the sender, then, delete and destroy all copies. > > This e-mail message, can not be copied, published or sold for any reason. > > This e-mail message has been swept by anti-virus systems for the presence of > > computer viruses. In doing so, however, sender cannot warrant that virus > > or other forms of data corruption may not be present and do not take any > > responsibility in any occurrence. > > _____________________________________________________________________________________________________________________________________________ > > > > _______________________________________________ > > rrd-users mailing list > > [email protected] > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > > > > > > > _____________________________________________________________________________________________________________________________________________ > > Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger > > bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde > > kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta > > mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj > > kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac > > icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta > > mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak > > yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol > > ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek > > zararlardan dogacak hicbir sorumlulugu kabul etmez. > > This message is intended solely for the use of the individual or entity to > > whom it is addressed , and may contain confidential information. If you are > > not the intended recipient of this message or you receive this mail in > > error, you should refrain from making any use of the contents and from > > opening any attachment. In that case, please notify the sender immediately > > and return the message to the sender, then, delete and destroy all copies. > > This e-mail message, can not be copied, published or sold for any reason. > > This e-mail message has been swept by anti-virus systems for the presence of > > computer viruses. In doing so, however, sender cannot warrant that virus > > or other forms of data corruption may not be present and do not take any > > responsibility in any occurrence. > > _____________________________________________________________________________________________________________________________________________ > _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
