> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:jffnms-users- > [EMAIL PROTECTED] On Behalf Of Craig Small > Sent: Thursday, March 30, 2006 3:50 AM > To: jffnms-users@lists.sourceforge.net > Subject: Re: [jffnms-users] FW: RRD graphs exist but error says "not > created yet" > > On Wed, Mar 29, 2006 at 11:40:32AM -0700, Kory wrote: > > 10:41:57 : H 5 : I 653 : P 1 : > > snmp_counter:cisco_cmts_cm_online(.1.3...14): 129 -> buffer(): 1 (time > > P:6.79 | 0.65) > > > > 10:41:57 : H 5 : I 653 : P 2 : > > snmp_counter:cisco_cmts_snr(.1.3...14): 288 -> buffer(): 2 (time P:2.26 > | > > 0.29) > > > > 10:41:57 : H 5 : I 653 : P 3 : > > snmp_counter:cisco_cmts_unerrored(.1.3...14): 2647008182 -> buffer(): 3 > > (time P:2.08 | 0.32) > > > > 10:41:57 : H 5 : I 653 : P 4 : > > snmp_counter:cisco_cmts_corrected(.1.3...14): 32572232 -> buffer(): 4 > (time > > P:2.2 | 0.31) > > > > 10:41:57 : H 5 : I 653 : P 5 : > > snmp_counter:cisco_cmts_uncorrected(.1.3...14): 639349 -> buffer(): 5 > (time > > P:2.5 | 0.3) > > > > 10:41:57 : H 5 : I 653 : P 10 : no_poller(): 0 -> rrd(*): > > cisco_cmts_snr:288 - cisco_cmts_cm_online:129 (time P:0.44 | 47.18) > The RRD files for two of the values are being saved, the rest are > getting dumped. > > > The unerrored, corrected and uncorrected graph has not been completed > yet > > but it should still graph the snr and cm_online right? > Yes. > > > The RRD Files have been created and have values in them (SNR is an > integer > > as opposed to a floating point so it reads as 288 instead of 28.8 but > that I > > believe is something that RRDtool will have to correct. > The graph can do it. > > > -rw-rw---- 1 jffnms jffnms 829980 Mar 29 11:25 interface-648-0.rrd > I would hope whatever user you run apache as is in the jffnms group > otherwise it cannot read these files. > > > $opts_DEF = > rrdtool_get_def($data,array(snr=>"cisco_cmts_snr_b")); > Where did the thing with the _b come from? Your RRD files in the poller > are _b less. > The line also defines a variable called "snr" to mean the RRD file that > belongs to cisco_cmts_snr_b, please put them in 'quotes' too. > > > "CDEF:snr=cisco_cmts_snr_b", > You defined above the RRD variable to be snr, remove this line. > > > "CDEF:snr=snr,UN,0,snr,IF", > Call it something else, I'm not sure how keen RRDtool is on variables > being redefined and it makes it easer for others to know what snr you > are talking about. Also where is your scaling? > A signal/noise ratio of 0 would be bad too wouldn't it? Possibly just > letting the NaN appear would be better. > "CDEF:snr_pct=snr,10,/", > > > "AREA1:snr#00CC00:'SNR'", > AREA or LINE1 but not AREA1 (or AREA51 either) > "AREA:snr_pct#00CC00:'SNR'", > > > $opts_header[] = "--vertical-label='SNR'"; > This is usually units. We know it is SNR, why not make it % ? > > - Craig
That worked! Thank you much! I think I'm finally getting the hang of this now. Just need to brush up on RRDTool I guess. RTFM again. Thanks for your help. Kory -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.3/295 - Release Date: 3/28/2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users