Hi,
we have an alarm template for all switches for the CISCO Manager.
I wanted to adjust the alarm template that it's alarming only if the type is ethernetCsmacd.
But somehow it's not working:
switch.PNG
I set it to not equal to IF Type ethernetCsmacd. So alarming should be disabled when the type is not ethernetCsmacd. But in this example its propVirtual and alarming is on.
The way conditions work might be a bit confusing. When putting a condition on a line in the alarm template, it will be excluded if that condition as a whole evaluates to true. Your condition consists of two parts:
- IF Bandwidth not equal to 1000 Mbps: this is false (as the bandwidth is exactly 1000Mbps in your case)
- IF Type not equal to ethernetCsmacd: this is true
This means that the full condition (1) AND (2) also equals false, and hence your line is not excluded.
Assuming that you only want alarms if the bandwidth equals 1000 Mbps AND type equals ethernetCsmacd, you should put condition (1) OR (2). (This is because NOT [p AND q] is equivalent to (NOT p) OR (NOT q), where p stands for bandwidth equal to 1000Mbps and q stands for type equal to ethernetCsmacd.)