From guy20034u at yahoo.com Tue Apr 5 08:05:32 2022 From: guy20034u at yahoo.com (simon ben) Date: Tue, 5 Apr 2022 08:05:32 +0000 (UTC) Subject: [rancid] Creating a sub directory under root CVS References: <1451513767.1033723.1649145933028.ref@mail.yahoo.com> Message-ID: <1451513767.1033723.1649145933028@mail.yahoo.com> Dear All, I have a the below working perfect with no isuesrancid 3.9 with viewvc repo version 1.3.0attached my current CVS root Now Remote-Sites is a new folder I created and i need to create subdirectories ( or folders ) ?under this folder with site specific names example: stores, sales, warehouse as these are remote location which have their own router and switches Appreciate your advice and help? regards simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cvsroot.JPG Type: image/jpeg Size: 32341 bytes Desc: not available URL: From heas at shrubbery.net Tue Apr 5 18:27:24 2022 From: heas at shrubbery.net (heasley) Date: Tue, 5 Apr 2022 18:27:24 +0000 Subject: [rancid] Creating a sub directory under root CVS In-Reply-To: <1451513767.1033723.1649145933028@mail.yahoo.com> References: <1451513767.1033723.1649145933028.ref@mail.yahoo.com> <1451513767.1033723.1649145933028@mail.yahoo.com> Message-ID: Tue, Apr 05, 2022 at 08:05:32AM +0000, simon ben: > Dear All, > I have a the below working perfect with no isuesrancid 3.9 with viewvc repo version 1.3.0attached my current CVS root > Now Remote-Sites is a new folder I created and i need to create subdirectories ( or folders ) > ?under this folder with site specific names example: stores, sales, warehouse as these are remote location which have their own router and switches > Appreciate your advice and help? > regards > simon These appear to be the CVS repositories. rancid should have another path where these are checked-out, aka working directories. You create new groups with rancid-cvs; see the manpage rancid-cvs(1). From guy20034u at yahoo.com Wed Apr 6 07:51:30 2022 From: guy20034u at yahoo.com (simon ben) Date: Wed, 6 Apr 2022 07:51:30 +0000 (UTC) Subject: [rancid] Creating a sub directory under root CVS In-Reply-To: References: <1451513767.1033723.1649145933028.ref@mail.yahoo.com> <1451513767.1033723.1649145933028@mail.yahoo.com> Message-ID: <496828189.1265992.1649231490405@mail.yahoo.com> Dear Heasley Appreciate your quick reply?will check and let you know?Thanks and Regards simon.? On Tuesday, April 5, 2022, 09:27:26 PM GMT+3, heasley wrote: Tue, Apr 05, 2022 at 08:05:32AM +0000, simon ben: > Dear All, > I have a the below working perfect with no isuesrancid 3.9 with viewvc repo version 1.3.0attached my current CVS root > Now Remote-Sites is a new folder I created and i need to create subdirectories ( or folders ) > ?under this folder with site specific names example: stores, sales, warehouse as these are remote location which have their own router and switches > Appreciate your advice and help? > regards > simon These appear to be the CVS repositories.? rancid should have another path where these are checked-out, aka working directories. You create new groups with rancid-cvs; see the manpage rancid-cvs(1). -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Thu Apr 14 16:09:05 2022 From: heas at shrubbery.net (Heasley) Date: Thu, 14 Apr 2022 16:09:05 +0000 Subject: [rancid] Beed to create sub folders in CVS In-Reply-To: <1731732831.481724.1649921169990@mail.yahoo.com> References: <1731732831.481724.1649921169990.ref@mail.yahoo.com> <1731732831.481724.1649921169990@mail.yahoo.com> Message-ID: Thu, Apr 14, 2022 at 07:26:09AM +0000, simon ben: > Dear All, > I had sent an email earlier on the issue of creating sub folders under the CVS roothere below is my config file .. rancid.con---------------------------- > LIST_OF_GROUPS="Switches Routers DataCentre Firewall BldgA-Switches BldgB-Switches BldgC-Swithces"?LIST_OF_GROUPS="Remote-Sites" That syntax will over-write the previous value. > ---------------- > Need to create stores , sales , accts as seen in the attached pic > But not able to create the above 3 folders under remote site > appreciate you help and advise > > thanks and Regards > simon The directory structure does not work in the manner you showed; it is one path with each group under it. if you must have that structure, create a copy of your rancid.conf and change the BASEDIR to /path/to/Remote-Sites, and if necessary change CVSROOT to the $BASEDIR/CVS with BASEDIR from the original rancid.conf. and add a second cronjob with rancid-run option -f?/path/to/rancid.conf.copy From cra at fea.st Mon Apr 25 14:56:31 2022 From: cra at fea.st (Chuck Anderson) Date: Mon, 25 Apr 2022 10:56:31 -0400 Subject: [rancid] [PATCH] Dell OS10 (dnos10.pm) psu output filtering Message-ID: <20220425145631.7ozmkrhnofgqjogx@gauge.lan> After a Dell OS10 upgrade to 10.5.3.2, the output of "show system" in the "-- Power Supplies --" section added some fluctuating fields for Power in addition to the existing Fan Speed. The attached patch filters out the new fluctuating values. -------------- next part -------------- diff -up rancid-3.13/lib/dnos10.pm.in.psu-filter rancid-3.13/lib/dnos10.pm.in --- rancid-3.13/lib/dnos10.pm.in.psu-filter 2020-10-02 12:48:05.000000000 -0400 +++ rancid-3.13/lib/dnos10.pm.in 2022-04-25 10:42:42.888049369 -0400 @@ -122,19 +122,27 @@ REDO: last if (/$prompt/); if (/-- power supplies --/i) { ProcessHistory("COMMENTS","keysort","C1","! $_"); - # PSU-ID Status Type AirFlow Fan Speed(rpm) Status - # ---------------------------------------------------------------- - # 1 up AC REVERSE 1 25800 up while (<$INPUT>) { s/^\s+\015//g; tr/\015//d; last if (/$prompt/); last if (/^-- /); # next section /^\s*$/ && next; + # PSU-ID Status Type AirFlow Fan Speed(rpm) Status + # ---------------------------------------------------------------- + # 1 up AC REVERSE 1 25800 up if (/^(\d+\s+\w+\s+\w+\s+\w+\s+\d+\s+)(\d+)(\s+\w+)\s*$/) { my($sl) = length($2); my($fmt) = "%s%-". $sl ."s%s\n"; $_ = sprintf($fmt, $1, "", $3); + # PSU-ID Status Type Power(w) AvgPower(w) AvgPowerStartTime AirFlow Fan Speed(rpm) Status + # ------------------------------------------------------------------------------------------------------- + # 1 up AC 34 34 04/05/2022-20:47 REVERSE 1 3600 up + } elsif (/^(\d+\s+\w+\s+\w+\s+)(\d+\s+\d+\s+[^ ]+\s+)(\w+\s+\d+\s+)(\d+)(\s+\w+)\s*$/) { + my($pl) = length($2); + my($sl) = length($4); + my($fmt) = "%s%-". $pl ."s%s%-". $sl ."s%s\n"; + $_ = sprintf($fmt, $1, "", $3, "", $5); } ProcessHistory("COMMENTS","keysort","C1","! $_"); }