01-19-2024 09:17 PM - edited 01-19-2024 09:18 PM
Hi guys ..
I'm a newcomer ..
Could you guys help me ? In my case, I need to create a triggered syslog from a router itself, when an interface detects its traffic usage based on the SNMP OID Interface >60% .. Someone told me to make an EEM Script, but I don't know how the thing is, and still probing for any solutions by exploring by myself also in this forum ..
Do you have any experience or any idea to make that thing ?
01-20-2024 01:45 PM
Hello,
the below should work. Replace the OID with the one you want to monitor. The syslog message created under '2.0' is customable, make it whatever you want.
event manager applet SNMP_OID_IF_TRAFFIC
event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 get-type exact entry-op gt entry-val 60 exit-op lt exit-val 70 poll-interval 5 maxrun 20
action 1.0 cli command "enable"
action 2.0 syslog msg "Creating log entry for >60% interface traffic"
01-21-2024 01:16 AM
Adding what @Georg Pauwen suggested script.
If you generating SYSLOG message on the device, Do you have syslog configured to external syslog to ship the logs to make alerts ?
You can add email notification so you do not need to login to router and check the logs using same EEM Script adding more lines.
How does you take any action if the Interface Utilize High, Best to use NMS so you can track your Usage bandwidth Peak or non-peak hours, This will help you for your Performance indicators.
01-21-2024 02:35 AM
>60% this percentage of what ? depend on what ?
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide