<hr />
<p>DRAFT</p>
<hr />
<p>
First, setup your Email relay system:</p>{"id":233,"date":"2009-06-30T16:00:00","date_gmt":"2009-06-30T20:00:00","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=233"},"modified":"2009-06-30T16:00:00","modified_gmt":"2009-06-30T20:00:00","slug":"configuring-fabricwatch","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/30\/configuring-fabricwatch\/","title":{"rendered":"Configuring FabricWatch"},"content":{"rendered":"<hr>\n<p>DRAFT<\/p>\n<hr>\n<p>\nFirst, setup your Email relay system:<br \/>\n<!--more--><\/p>\n<pre><code>SanSW1:admin&gt; <strong>fwMailCfg<\/strong>\n1\u00a0 : Show Mail Configuration Information\n2\u00a0 : Disable Email Alert\n3\u00a0 : Enable Email Alert\n4\u00a0 : Send Test Mail\n5\u00a0 : Set Recipient Mail Address for Email Alert\n6\u00a0 : Relay Host IP Configuration\n7\u00a0 : Quit\nSelect an item\u00a0 =&gt; : (1..7) [7]<\/code><\/pre>\n<p>Select 6 to configure the relay host:<\/p>\n<pre><code>1 Display Relay Host configuration\n2 Set Relay Host IP\n3 Remove Relay Host configuration\n4 Quit<\/code><\/pre>\n<p>Select 2 to configure the Host IP (and I do mean IP, not the DNS name):<\/p>\n<pre><code>enter the Relay Host IP:\n<em>192.168.1.1<\/em>\nSetting 192.168.1.1 as Relay Host..\nenter the Domain Name:\n<em>domain.net<\/em><\/code><\/pre>\n<p>And, select 4 to exit to the main fwMailCfg screen.  Next, set the Email recipient, select 5 from the main fwMailCfg screen:<\/p>\n<pre><code>Mail Config\u00a0 Menu\n___________________________\n1\u00a0 : Environment class\n2\u00a0 : SFP class\n3\u00a0 : Port class\n4\u00a0 : Fabric class\n5\u00a0 : E-Port class\n6\u00a0 : F\/FL Port (Optical) class\n7\u00a0 : ALPA Performance Monitor class\n8\u00a0 : End-to-End Performance Monitor class\n9\u00a0 : Filter Performance Monitor class\n10 : Security class\n11 : Resource Monitor class\n12 : FRU class\n13 : Quit\nSelect an item\u00a0 =&gt; : (1..13) [13]<\/code><\/pre>\n<p>Select the class you want to monitor (Port class has a lot of good errors in it), and enter the Email address of the recipient:<\/p>\n<pre><code>Mail To: [patrickv@domain.net] <em>my@email.com<\/em><\/code><\/pre>\n<p>Be sure to select 3 from the main screen to enable Email alerts, then you can select 4 to send a test Email.  With any luck you&#8217;ll get an email within a minute or two.<\/p>\n<p>Next, we need to configure the alarm levels.  <\/p>\n<pre><code>OpsSanSW2:admin> fwconfigure\n\n1  : Environment class\n2  : SFP class\n3  : Port class\n4  : Fabric class\n5  : E-Port class\n6  : F\/FL Port (Optical) class\n7  : Alpa Performance Monitor class\n8  : EE Performance Monitor class\n9  : Filter Performance Monitor class\n10 : Security class\n11 : Resource class\n12 : Quit\nSelect a class => : (1..12) [12]<\/code><\/pre>\n<p>Select the class to modify<\/p>\n<pre><code>Select a class => : (1..12) [12] 3\n\n1  : Link loss\n2  : Sync loss\n3  : Signal loss\n4  : Protocol error\n5  : Invalid words\n6  : Invalid CRCS\n7  : RXPerformance\n8  : TXPerformance\n9  : State Changes\n10 : return to previous page\nSelect an area => : (1..10) [10]<\/code><\/pre>\n<p>Select the area of the class to modify:<\/p>\n<pre><code>1 : refresh\n2 : disable a threshold\n3 : enable a threshold\n4 : advanced configuration\n5 : return to previous page\nSelect choice => : (1..5) [5]<\/code><\/pre>\n<p>Select advanced configuration:<\/p>\n<pre><code>Threshold boundary level is set at : Default\n\n                 Default        Custom\n      Unit      Error(s)      Error(s)\n Time base        minute        minute\n       Low             0             0\n      High          1000          1000\n   BufSize           100           100\n\nThreshold alarm level is set at : Default\n\nErrlog-1, SnmpTrap-2, PortLogLock-4\nRapiTrap-8, EmailAlert-16, PortFencing-32\n\nValid alarm matrix is 63\n\n                 Default        Custom\n   Changed             0             0\n     Below             0             0\n     Above             0             0\n InBetween             0             0\n\n1  : change behavior type             11 : change threshold alarm level\n2  : change behavior interval         12 : change changed alarm\n3  : change threshold boundary level  13 : change below alarm\n4  : change custom unit               14 : change above alarm\n5  : change custom time base          15 : change inBetween alarm\n6  : change custom low                16 : apply threshold alarm changes\n7  : change custom high               17 : cancel threshold alarm changes\n8  : change custom buffer             18 : return to previous page\n9  : apply threshold boundary changes\n10 : cancel threshold boundary changes\nSelect choice => : (1..18) [18]<\/code><\/pre>\n<p>Set the high threshold:<\/p>\n<pre><code>Select choice => : (1..18) [18] 7\nEnter high threshold => : (0..999999999) [1000] 100<\/code><\/pre>\n<p>The buffer setting isn&#8217;t very well described in some of the books.  The way I read it is that the alarm won&#8217;t trigger another alert until the level has hit between the high threshold &#8211; the buffer and the low threshold + the buffer.  It&#8217;s a way to to reduce the number of alarms generated. Set the buffer:<\/p>\n<pre><code>Select choice => : (1..18) [18] 8\nEnter buffer size => : (0..50) [50] 5<\/code><\/pre>\n<p>Set the alarm action:<\/p>\n<pre><code>Select choice => : (1..18) [18] 14\n\nErrlog-1, SnmpTrap-2, PortLogLock-4\nRapiTrap-8, EmailAlert-16, PortFencing-32\n\nValid alarm matrix is 63\nEnter above alarm matrix => : (0..63) [0] 21<\/code><\/pre>\n<p>Set the threshold boundry and alarm levels to custom:<\/p>\n<pre><code>Select choice => : (1..18) [18] 3\n1  : Default\n2  : custom\nEnter boundary level type => : (1..2) [2] 2\n...\nSelect choice => : (1..18) [18] 11\n1  : Default\n2  : custom\nEnter alarm level type => : (1..2) [1] 2<\/code><\/pre>\n<p>Apply changes ( 9 and 16).<\/p>\n<p>Configure FabricWatch for FRU&#8217;s to be notified of power supply, fan, or blade failures:<\/p>\n<pre><code>OpsSanSW1:admin> fwfrucfg\n\nThe current FRU configuration:\n                  Alarm State     Alarm Action\n-----------------------------------------------\n            Slot       27               17\n    Power Supply       24               17\n             Fan       24               17\n             WWN        1                1\n\nNote that the value 0 for a parameter means that\nit is NOT used in the calculation\n\nConfigurable Alarm States are:\nAbsent-1, Inserted-2, On-4, Off-8, Faulty-16\n\nConfigurable Alarm Actions are:\nErrlog-1, E-mail-16\nSlot Alarm State: (0..31) [27]<\/code><\/pre><\/hr><\/hr>","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,1],"tags":[],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-san-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/233\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}