[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Re: netapp.pl and uptime




No problem, Francesco !

thanks again for that nice netapp.pl & your work !!

cheers,
         martin

On Wed, 14 Nov 2007, Francesco Duranti wrote:

Hi martin, sorry to be late but the last months was really full and I
had not much time to work on the scripts...
I got the patch and it's in the new version with some other little bug
fix and some little new features but I had no time to finish to test
them and I was waiting for the new release of hobbit to publish the new
version of the scripts with the patches for the graphs to work with the
new hobbit release.

Sorry for that problem.

Francesco

-----Original Message-----
From: Martin Flemming [mailto:martin.flemming (at) desy.de]
Sent: Wednesday, November 14, 2007 9:21 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Re: netapp.pl and uptime


Hi, Dirk !

Thanks very mutch for the info and the "patch" ...

I will tested and wait for the next real reboot and look what
it does ...

Thanks & Cheers

 	Martin


On Wed, 14 Nov 2007, Dirk Kastens 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




Gruss

        Martin Flemming


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming (at) desy.de
______________________________________________________

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk




To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk




Gruss

       Martin Flemming


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming (at) desy.de
______________________________________________________