Hi All, hope someone out there can help me?
'Template Module Interfaces SNMPv2: Interface {#IFNAME}({#IFALIAS}): Link down' - (trigger prototype)
The above trigger is executed when a device is shutdown or unplugged on the network.
How can I exclude certain devices triggering this alert?
A bit of background...
Switchport interfaces have a description that start with PC,WAP,Phone,Camera,Server,Trunk etc... See below sample from the problem dashboard.
Time Status Host Problem Severity
00:01 PROBLEM RiserSwitch1 Interface Fa0/1(PC1): Link Down <--------------don't trigger for this one!
00:02 PROBLEM RiserSwitch1 Interface Fa0/2(WAP1): Link Down
00:03 PROBLEM RiserSwitch2 Interface Gi0/1(Camera1): Link Down
00:04 PROBLEM RiserSwitch2 Interface Gi0/2(Phone2): Link Down
00:05 PROBLEM CoreSwitch1 Interface Gi2/1(Server1): Link Down
00:06 PROBLEM CoreSwitch1 Interface Gi3/2(Server2): Link Down
00:07 PROBLEM CoreSwitch1 Interface Gi3/3(Trunk1): Link Down
Risers are either Fa0 or Gi0 interfaces, while the Cores are Gi2 or Gi3 if that helps.
Firstly I only want these 'link down' stopped on riser switches, and only allow them if they have the word 'WAP,Phone or Camera' in the description part of the interface.
How do I create a regular expression for the above trigger that says....
1. match any of the words 'WAP,Phone or Camera'
2. for interfaces Fa0 or Gi0.
3. applies to only riser switches.
4. core switches should continue reporting all 'link down' alerts.
I'm scratching my head on this.
Is there a better way to do this?
Thanks
'Template Module Interfaces SNMPv2: Interface {#IFNAME}({#IFALIAS}): Link down' - (trigger prototype)
The above trigger is executed when a device is shutdown or unplugged on the network.
How can I exclude certain devices triggering this alert?
A bit of background...
Switchport interfaces have a description that start with PC,WAP,Phone,Camera,Server,Trunk etc... See below sample from the problem dashboard.
Time Status Host Problem Severity
00:01 PROBLEM RiserSwitch1 Interface Fa0/1(PC1): Link Down <--------------don't trigger for this one!
00:02 PROBLEM RiserSwitch1 Interface Fa0/2(WAP1): Link Down
00:03 PROBLEM RiserSwitch2 Interface Gi0/1(Camera1): Link Down
00:04 PROBLEM RiserSwitch2 Interface Gi0/2(Phone2): Link Down
00:05 PROBLEM CoreSwitch1 Interface Gi2/1(Server1): Link Down
00:06 PROBLEM CoreSwitch1 Interface Gi3/2(Server2): Link Down
00:07 PROBLEM CoreSwitch1 Interface Gi3/3(Trunk1): Link Down
Risers are either Fa0 or Gi0 interfaces, while the Cores are Gi2 or Gi3 if that helps.
Firstly I only want these 'link down' stopped on riser switches, and only allow them if they have the word 'WAP,Phone or Camera' in the description part of the interface.
How do I create a regular expression for the above trigger that says....
1. match any of the words 'WAP,Phone or Camera'
2. for interfaces Fa0 or Gi0.
3. applies to only riser switches.
4. core switches should continue reporting all 'link down' alerts.
I'm scratching my head on this.
Is there a better way to do this?
Thanks
Comment