418 Event Management and Best Practices
Layer2Status attribute: Is set by IBM Tivoli Switch Analyzer and shows a
status that is
not equal normal in case IBM Tivoli Switch Analyzer cannot
status poll the ports discovered for that node.
Based on these conditions, we can develop a simple rule, which matches only
those switches that are not up and running:
The device or object being included must be of type connector.
Its IP status or Layer2 status must be other than normal.
Now we need to bring this into a smartset rule definition:
(('isConnector' = True) && ('IP Status' != 'Normal') || ('Layer2Status' !=
Then define the rule with the ruleset editor:
1. From the NetView EUI, select Tools
2. In the window that opens, select the Text Editor button and click Add.
3. The compound rule editor opens. The editor window that you normally use to
define simple rules cannot be used in our case, because we compare status
attributes. The simple rule editor only allows us to define an equal condition in
the form <status attribute = ‘<enumeration of states>’. It negates the
result at once, which makes an ineffective definition. In our case, we want to
test for a status not equal normal.
Give the rule a name and a description. Enter the rule definitions as shown in
Figure A-9. Then click OK.