Alert Rule triggering another Alert Rule ? (or am I overthinking this ?)

Hello,
I have this basic rule for alerting us when a remote office router is exceeding 95% of its available bandwidth of the WAN link.

When this Alert is triggered - I would like another Rule/Alert to collect the same for other ports - for all devices, and for the entire “location” that the Router belong to - to be able to catch the switch/client port that is actually behind the first alert.
During normal circumstances I don’t really care if a “local” port on that location fully utilize the client port…as long as the network hog keeps it local on that site/location - I want to find the local port that in its turn puts the pressure on the WAN and may cause slowness for the entire remote office.

(as most common standard we have 500Mbit WAN to remote offices, and client switches are 1Gbit towards users, and some 10Gbit local core for servers and switch uplinks etc.)

I hope you guys understand my question, and maybe there is an easy way to accomplish what I want, maybe with a more advanced Rule of some kind.

Let me know if you want me to clarify anything.

Regards
Martin

You can probably do it with a custom SQL query using a sub query to select the WAN port based on a useage threshold.

Start out by configuring a standard alert rule that checks for bandwidth over X %. Then get that query and add a sub query (https://dev.mysql.com/doc/refman/8.4/en/subqueries.html#:~:text=A%20subquery%20is%20a%20SELECT,features%20that%20are%20MySQL-specific.) which then checks the ports table for your WAN port and also calculates if it’s over X %.

I’ll take a stab at a possible direction. You mention you already have a rule for the WAN ports so thats already solved by a WAN alert rule, you’re just wanting bandwidth alerts for your LAN ports.

If thats correct, then you’ll need to split the difference between a WAN and a LAN port (what you call a local port or client port?) so the alert rule matches against only LAN ports. One idea i have is you could achieve this by setting a Port Group (Ports>Manage Groups) and then set every WAN port to this WAN Port Group.

Then on your Alert rule for the LAN ports you use the ‘port_groups.name’ to exclude the WAN ports from this alert. If your WAN link is only 500Mbit then you’ll need to match the LAN ports that trigger when it hits 450Mbit or something on that line.

Is that something what you’re after?

2 Likes

Yes it sounds right…I have not played with port groups yet…I will have a look.

Thanks Speechy !.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.