[Orca-users] Displaying Statistics for NetApp SAN disks in Orca

Ayotunde Itayemi (gmail) aitayemi at gmail.com
Sun Jan 25 08:43:09 PST 2009


I went for the second regex which appears to be working fine. Thanks a lot.

 

From: David Michaels [mailto:dragon at raytheon.com] 
Sent: Wednesday, January 21, 2009 11:19 PM
To: Ayotunde Itayemi
Cc: orca-users at orcaware.com
Subject: Re: [Orca-users] Displaying Statistics for NetApp SAN disks in Orca

 

Ayotunde Itayemi wrote: 

Thanks David,

I am testing this right now. Can I assume that if I use any of the 2 regxp
you suggested below, it won't "break" the display of other "regular" disk
devices and SVM meta-devices?


I don't think it will.  The one problem that could come up is that the
letter following the "t\d+" part of the regex is also part of the
hexadecimal set, which introduces ambiguity into the pattern matching
algorithm.  In theory, it should be able to figure it out, and thus not
impact the graphs of your other disks either.

The 2nd regex is more explicit and because it does not include lower-case
'd' in the hex set, it would not have the ambiguity probelm that the first
regex does.

Good luck, and let us know how it works for you.

--Dragon




 

2009/1/20 David Michaels <dragon at raytheon.com>







I have got the line below in my /usr/local/lib/orcallator.cfg file. How do I
modify this to show my external LUNs in addition to internal drives?

In particular the NetApp LUNs. 

disk_runp_((?:c\d+t\d+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+))

 

       4. c13t500A098387393451d0 <NETAPP-LUN-0.2-1.95TB>



That's a really awesome disk identifier.  The regexp above won't work,
because it's expecting the target to be a number, and in your case it's
hexadecimal.

First, try using \x after the 't':

disk_runp_((?:c\d+t\x+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+))
                   ^^

If that doesn't work, try the more verbose method:
disk_runp_((?:c\d+t[0-9A-F]+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+)) 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20090125/bc191ca9/attachment-0002.html>


More information about the Orca-users mailing list