Xymon Mailing List Archive search

netapp.pl and uptime

9 messages in this thread

list Martin Flemming · Sat, 10 Nov 2007 12:14:32 +0100 (CET) ·
Hi !

I've got several red-alerts by the netapp.pl for two of my four Netapps
like this :

Subject: [hobbit-patrol] Hobbit [435531] adxstore1:uptime CRITICAL (RED)

red Sat Nov 10 11:23:07 2007
&red Last restart was 00:00:00 hh:mm:ss ago (ALERT=00:30:00).

Storage adxstore1 was restarted at Sat Nov 10 11:23:07 2007

netapp.pl version 1.10 - column uptime lifetime 60, tested in ~ 00:00:00 (max 00:02:00)


But if i'm login into the netapp and call uptime everything seems to be ok 

adxstore1> uptime
 11:58am up  9 days, 35 mins, 0 NFS ops, 13648371 CIFS ops, 24 HTTP ops, 20870163 FCP ops, 0 iSCSI ops

Any hints why ?


Chhers,

       Martin
list Martin Flemming · Tue, 13 Nov 2007 15:16:00 +0100 (CET) ·
Hi, Francesco et all !

Any hints or methods to debug ?

... we're now in pairs with this failure ...


thanks & cheers,

         Hezki & martin


Date: Tue, 13 Nov 2007 15:55:07 +0200
From: Hezki Englander <user-c7a77f4ca55b@xymon.invalid>
To: user-f286aaa49a76@xymon.invalid
Subject: Netapp.pl for hobbit uptime errors
Parts/Attachments:
    1   OK     13 lines  Text
    2 Shown    13 lines  Text

Hi ,
 
I could not find the post on the hobbit list,
So I would like to ask you directly if you don't mind..
 
I got the same stange errors about netapp rebooted .
 
(it happens every day at 23:00 and recovers after an hour)
 
Did you find out how to solve this?
 
Thanks much,
Hezki
quoted from Martin Flemming


On Sat, 10 Nov 2007, Martin Flemming wrote:
Hi !

I've got several red-alerts by the netapp.pl for two of my four Netapps
like this :

Subject: [hobbit-patrol] Hobbit [435531] adxstore1:uptime CRITICAL (RED)

red Sat Nov 10 11:23:07 2007
&red Last restart was 00:00:00 hh:mm:ss ago (ALERT=00:30:00).

Storage adxstore1 was restarted at Sat Nov 10 11:23:07 2007

netapp.pl version 1.10 - column uptime lifetime 60, tested in ~ 00:00:00 (max 00:02:00)


But if i'm login into the netapp and call uptime everything seems to be ok

adxstore1> uptime
11:58am up  9 days, 35 mins, 0 NFS ops, 13648371 CIFS ops, 24 HTTP ops, 20870163 FCP ops, 0 iSCSI ops

Any hints why ?


Chhers,

      Martin

list Peter Welter · Tue, 13 Nov 2007 19:39:35 +0100 ·
Hi Martin,

I sure have experience the same problem with the latest release. Have
not tried any previous release though. I can (will) check this
tomorrow (if I can find this ;-)

Regard, Peter

2007/11/13, Martin Flemming <user-f286aaa49a76@xymon.invalid>:
quoted from Martin Flemming
Hi, Francesco et all !

Any hints or methods to debug ?

... we're now in pairs with this failure ...


thanks & cheers,

         Hezki & martin


Date: Tue, 13 Nov 2007 15:55:07 +0200
From: Hezki Englander <user-c7a77f4ca55b@xymon.invalid>
To: user-f286aaa49a76@xymon.invalid
Subject: Netapp.pl for hobbit uptime errors
Parts/Attachments:
    1   OK     13 lines  Text
    2 Shown    13 lines  Text

Hi ,

I could not find the post on the hobbit list,
So I would like to ask you directly if you don't mind..

I got the same stange errors about netapp rebooted .

(it happens every day at 23:00 and recovers after an hour)

Did you find out how to solve this?

Thanks much,
Hezki


On Sat, 10 Nov 2007, Martin Flemming wrote:
Hi !

I've got several red-alerts by the netapp.pl for two of my four Netapps
like this :

Subject: [hobbit-patrol] Hobbit [435531] adxstore1:uptime CRITICAL (RED)

red Sat Nov 10 11:23:07 2007
&red Last restart was 00:00:00 hh:mm:ss ago (ALERT=00:30:00).

Storage adxstore1 was restarted at Sat Nov 10 11:23:07 2007

netapp.pl version 1.10 - column uptime lifetime 60, tested in ~ 00:00:00 (max 00:02:00)


But if i'm login into the netapp and call uptime everything seems to be ok

adxstore1> uptime
11:58am up  9 days, 35 mins, 0 NFS ops, 13648371 CIFS ops, 24 HTTP ops, 20870163 FCP ops, 0 iSCSI ops

Any hints why ?


Chhers,

      Martin

list Martin Flemming · Tue, 13 Nov 2007 22:09:29 +0100 (CET) ·
Nice, thanks !

	martin
quoted from Peter Welter

On Tue, 13 Nov 2007, Peter Welter wrote:
Hi Martin,

I sure have experience the same problem with the latest release. Have
not tried any previous release though. I can (will) check this
tomorrow (if I can find this ;-)

Regard, Peter

2007/11/13, Martin Flemming <user-f286aaa49a76@xymon.invalid>:
Hi, Francesco et all !

Any hints or methods to debug ?

... we're now in pairs with this failure ...


thanks & cheers,

         Hezki & martin


Date: Tue, 13 Nov 2007 15:55:07 +0200
From: Hezki Englander <user-c7a77f4ca55b@xymon.invalid>
To: user-f286aaa49a76@xymon.invalid
Subject: Netapp.pl for hobbit uptime errors
Parts/Attachments:
    1   OK     13 lines  Text
    2 Shown    13 lines  Text

Hi ,

I could not find the post on the hobbit list,
So I would like to ask you directly if you don't mind..

I got the same stange errors about netapp rebooted .

(it happens every day at 23:00 and recovers after an hour)

Did you find out how to solve this?

Thanks much,
Hezki


On Sat, 10 Nov 2007, Martin Flemming wrote:
Hi !

I've got several red-alerts by the netapp.pl for two of my four Netapps
like this :

Subject: [hobbit-patrol] Hobbit [435531] adxstore1:uptime CRITICAL (RED)

red Sat Nov 10 11:23:07 2007
&red Last restart was 00:00:00 hh:mm:ss ago (ALERT=00:30:00).

Storage adxstore1 was restarted at Sat Nov 10 11:23:07 2007

netapp.pl version 1.10 - column uptime lifetime 60, tested in ~ 00:00:00 (max 00:02:00)


But if i'm login into the netapp and call uptime everything seems to be ok

adxstore1> uptime
11:58am up  9 days, 35 mins, 0 NFS ops, 13648371 CIFS ops, 24 HTTP ops, 20870163 FCP ops, 0 iSCSI ops

Any hints why ?


Chhers,

      Martin

Gruss

       Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid
list Dirk Kastens · Wed, 14 Nov 2007 09:03:11 +0100 ·
Hi,
quoted from Martin Flemming

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.: +XX-XXX-XXX-XXXX, FAX: -2470
list Martin Flemming · Wed, 14 Nov 2007 09:20:36 +0100 (CET) ·
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
quoted from Dirk Kastens


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.: +XX-XXX-XXX-XXXX, FAX: -2470

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid
list Hezki Englander · Wed, 14 Nov 2007 10:23:06 +0200 ·
Thanks alot !

Hezki

On Nov 14, 2007 10:03 AM, Dirk Kastens <user-e4253f8fc63b@xymon.invalid>
quoted from Martin Flemming
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.: +XX-XXX-XXX-XXXX, FAX: -2470

list Francesco Duranti · Wed, 14 Nov 2007 11:34:01 +0100 ·
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
quoted from Martin Flemming
-----Original Message-----
From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Sent: Wednesday, November 14, 2007 9:21 AM
To: user-ae9b8668bcde@xymon.invalid
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.: +XX-XXX-XXX-XXXX, FAX: -2470
Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid

list Martin Flemming · Wed, 14 Nov 2007 12:33:19 +0100 (CET) ·
No problem, Francesco !

thanks again for that nice netapp.pl & your work !!
quoted from Francesco Duranti

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:user-f286aaa49a76@xymon.invalid]
Sent: Wednesday, November 14, 2007 9:21 AM
To: user-ae9b8668bcde@xymon.invalid
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.: +XX-XXX-XXX-XXXX, FAX: -2470

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid