[rancid] System Up Time & Dell

Gerhard Mourani GMourani at prival.ca
Mon May 5 12:33:41 UTC 2014


Heasley,

Just to let you know that your patch fixed the problem, thanks.


On May 1, 2014, at 4:14 PM, heasley <heas at shrubbery.net> wrote:

> Thu, May 01, 2014 at 01:23:52PM -0400, Gerhard Mourani:
>> I'm using Rancid 3.0 to backup Dell switches using the 'smc' type and it
>> work. But every time the script run, I receive the following diff.
>> 
>> - ! System Up Time (days,hour:min:sec):       02,11:30:13
>> + ! System Up Time (days,hour:min:sec):       02,23:31:44
> 
> this should do it.
> 
> Index: bin/srancid.in
> ===================================================================
> --- bin/srancid.in	(revision 2828)
> +++ bin/srancid.in	(working copy)
> @@ -215,7 +215,7 @@
> 	s/[\b]+\s*[\b]*//g;
> 
> 	# Remove Uptime
> -	/ Up time/ && next;
> +	/ up time/i && next;
> 
> 	# filter temperature sensor info for Dell 6428 stacks
> 	/Temperature Sensors:/ && next;
> @@ -251,7 +251,7 @@
> 	s/[\b]+\s*[\b]*//g;
> 
> 	# Remove Uptime
> -	/ Up time/ && next;
> +	/ up time/i && next;
> 	ProcessHistory("COMMENTS","keysort","D1","! $_");
>     }
>     return(0);
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list