From: Dan V. M. <bi...@gm...> - 2006-03-10 20:37:48
|
Sorry for being a noob, but I'm getting this with that patch: ~$ patch -p 0 < patch-nonhtmltables_rrddump patching file modules/dm_tests.pm patch: **** malformed patch at line 68: @@ -1526,6 +1543,7 @@ Here are lines 67, 68 and 69: my $pri_val =3D $oids->{$pri}{'val'}{$leaf}; @@ -1526,6 +1543,7 @@ if($oid eq $pri and $alarm) { Thanks Dan On 3/10/06, Dan Vande More <bi...@gm...> wrote: > Well I was thinking, for example, of doing something like this in the > message file for if_load: > > --- > Interface error rates: > TABLE: > Ifc name|Ifc Speed|Rate in (load %)|Rate out (load %) > {ifName}{ifAliasBox}|{ifSpeed}|{ifInLoad.color}{ifInSpeed} > ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} > ({ifOutLoad}%){ifOutLoad.errors} > > NONHTMLTABLE: > ifInLoad : {ifInLoad} > ifOutLoad: {ifOutLoad} > --- > > So there wouldn't be any column separators per se, unless I put them > in. Of course, depending on how many tests you're performing, your > message file would get pretty big. But I think this solves two > problems - NCV support & Non-HTML email support. People who don't want > HTML in their email for tests can simply change their "message" file > from TABLE to NONHTMLTABLE. > > For NCV we just need to make sure there's nothing else on the lines > containing "foo : bar", as then hobbit won't detect it as a line > that's candidate for having NCV data. I suppose too that you could > throw some <!--/--> stuff when the NONHTMLTABLE begins and end so the > data on the webpage isn't bloated and redundant. > > Does that make sense? > > Dan > > > On 3/10/06, Schwimmer, Eric E *HS <EE...@hs...> wrote: > > > > How do you want the columns separated? Whitespace? Commas? > > > > -Eric > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Dan Vande More > > > Sent: Friday, March 10, 2006 2:14 PM > > > To: dev...@li... > > > Subject: Re: [Devmon] CVS commits? > > > > > > Oh, wow, figured the same thing (SF said no update this month). Glad > > > to hear that's not the case. > > > > > > Eric, you're understandably busy, but have you got a chance to > > > consider any NONHTMLTABLE (Or similiar) options that might allow me t= o > > > come up with a way to push NCV data? > > > > > > If the lines weren't surrounded with HTML, hobbit could see output as > > > NCV format and graph without you doing anything custom (Like a hobbit > > > patch for each datatype, etc). > > > > > > Thanks > > > > > > Dan > > > > > > On 3/10/06, Schwimmer, Eric E *HS > > > <EE...@hs...> wrote: > > > > > > > > Sourceforge lies! All lies! The latest and greatest code > > > is up there, > > > > with the exception of the patches I have sent out today. > > > > > > > > Hrm, external CVS would probably be a good idea. I'll see > > > about setting > > > > it up. > > > > > > > > -Eric > > > > > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On Behalf > > > > > Of Bill Finizia > > > > > Sent: Friday, March 10, 2006 1:02 PM > > > > > To: dev...@li... > > > > > Subject: [Devmon] CVS commits? > > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > Hash: SHA1 > > > > > > > > > > Hi > > > > > > > > > > Are any of these new templates and code updates going to be > > > > > stored in > > > > > a central location? I checked on SF and nothing seems to > > > have been > > > > > added this month. > > > > > > > > > > Bill Finizia > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > > Version: GnuPG v1.4.1 (Darwin) > > > > > > > > > > iD8DBQFEEb8s/Ol32NgyEZgRAgSpAKCQVkKtmHjS745LgYwEv64M81jmUQCdFkMX > > > > > MgUy501i0l4Iu5ixKPS3dO0=3D > > > > > =3DHAgk > > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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=3Dlnk&kid=3D110944&bid=3D2417= 20& > > > > dat=3D121642 > > > > > _______________________________________________ > > > > > Devmon-support mailing list > > > > > Dev...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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?cmdlnk&kid=110944&bid$1720&dat=1216= 42 > > > > _______________________________________________ > > > > Devmon-support mailing list > > > > Dev...@li... > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > > > > > > > > > ------------------------------------------------------- > > > 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=3Dk&kid=110944&bid$1720&dat=12164= 2 > > > _______________________________________________ > > > Devmon-support mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > |