From: Kauffman, T. <Kau...@ni...> - 2008-05-28 15:54:03
|
One of the issues I have with the Brocade switches is the port numbering; the index value returned by the mib (swFCPortIndex) ranges in value from 1 to 32 (or whatever the highest value on the switch is). The ports are physically numbered from 0 to 31. I'd like the devmon reporting to match. But this test isn't working: OID: swFCPortIndex : .1.3.6.1.4.1.1588.2.1.1.1.6.2.1.1 : branch Transform: Port : MATH : {swFCPortIndex} - 1 Message: Port|Interface|Outbound Words|Inbound Words {swFCPortIndex}|{Port}|{swFCPortTXW}|{swFCPortRXW} Gives me this error: Can't use string ("No data.") as a HASH ref while "strict refs" in use at /usr/local/src/devmon-0.3.0/modules/dm_tests.pm line 1800, <$__ANONIO__> line 1455. If I drop the 'Interface' header and '{Port}' value everything works just fine. (I'd really like to use '{Port}' in place of '{swFCPortIndex}' but I keep getting told it's not a repeater when I try.) This is with: Devmon v0.3.0-rc1, a device monitor for BigBrother/Hobbit So what am I doing wrong? TIA Tom Kauffman NIBCO, Inc CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message. |