Sending a Notification Message When the Telegram Mikrotik Ethernet Port Status Changes

If the port level (10Mbps / 100Mbps 1G or 10G) of the devices connected to the ports of your Switch or Router changes in any way, you may need an application to monitor this situation. A simple application was developed with a telegram on this side. It checks the status of the Ethernet and sends you a telegram message if it has a value other than the one you specified.

Example Application:

Our device plugged into the Ethernet1 port should have a 1Gbps connection, but somehow if you think the port drops to 100Mbps or 10Mpbs. And if you want to check this situation.
For this, you can check the status of the port using the following application example and you can be notified by SMS information from the telegram.

You can reach our article about creating telebotID and TeleChatID from the link below. for telebotID and TeleChatID.

All you have to do now is fill in the above fields according to your needs;

: must be local “100Mbps” as this example 100Mbps, 1Gbps, 10Mbps, 10Gbps what you want the value of the port you are writing. The value here should be written correctly and without spaces.

: local INTER “ether1” in this field you are writing which Ethernet interface you want to control, for example, Ether1,2,3 or sfp1.

Keeping the name of the Mikrotik Device up to date in the system identity section will ensure that the name of the device is correct.

I hope it has been a useful article.