[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Re: netapp.pl and uptime
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Re: netapp.pl and uptime
- From: "Hezki Englander" <me2unix (at) gmail.com>
- Date: Wed, 14 Nov 2007 10:23:06 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=yk1cnrdZlFNm2ORQx3lSiVBMCFUoborj3zax1G5982k=; b=aF4oh6n3HabzFLIJTwHD1xxkzUVJz3FbioilmEaH/OEOvTatJUMwhjq6LSkHSu1yoFk8sEjRQ1NcDC3rPZ/ZWyIlm3wxgV4ID1ESXPjYCDXBe2UoodZTDbHK1SODA8nkuWJgfjLlJFQX1kH+qCV8y124PARmiLfBI2jGcyUfEpg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iiwXN2V6bxlkSBafinS3X7YK6En+HrbPf2tcnXXm7drEsLlJI7i+tkPT/2AlXzAfiq8dKkzoyHi13dwLuS58BmOpr1v2KeERBkZi7ZE9CKk/Sd6NmblbCpQ6PJZSplhgga+scSmbLO2H8RgyGmUszzgrZ5Bw7R0kWiSNBN32gLU=
- References: <Pine.LNX.4.64.0711101205590.23166 (at) store01-1.desy.de> <Pine.LNX.4.64.0711131515420.7787 (at) titan.desy.de> <473AABBF.5020504 (at) uni-osnabrueck.de>
Thanks alot !
Hezki
On Nov 14, 2007 10:03 AM, Dirk Kastens <Dirk.Kastens (at) uni-osnabrueck.de>
wrote:
> Hi,
>
> Martin Flemming schrieb:
> >
> > Hi, Francesco et all !
> >
> > Any hints or methods to debug ?
> >
> > ... we're now in pairs with this failure ...
>
> This error occured to me one year ago. I found a solution and reported
> it to the developer. Don't know if he fixed it meanwhile:
>
> Your script works if the uptime is 10 days or more. If it's less than 10
> days there is a blank in the number of days, for example " 3 days".
> I just added the following line to your get_version procedure (line 706
> of netapp.pl) to strip off the leading blank:
>
> foreach my $line (@val) {
> $line =~ s/^ //;
> if (index($line,":") != -1) {
>
> Now the uptime procedure works.
>
> --
> Regards,
>
> Dirk Kastens
> Universitaet Osnabrueck, Rechenzentrum (Computer Center)
> Albrechtstr. 28, 49069 Osnabrueck, Germany
> Tel.: +49-541-969-2347, FAX: -2470
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>