How to send email when Mikrotik link is down

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • #mikrotik #monitoring
    How to send email when Mikrotik link is down
    Whenever you have a network with more than a few devices or more than a couple users, you will need to know more about the network's health. Whether you are just an advanced user, system administrator, or technical support engineer, knowing the status of all devices inside the network is necessary.
    We can use a full-scale network monitoring solution (NMS), like the Mikrotik Dude. However, we can fulfill our goal in a simpler yet effective manner. Mikrotik RouterOS includes some cool features. We can utilize the Netwatch service to check the availability of the hosts inside the network.
    The Netwatch service is very simple in essence. We need to define a list of all the hosts we want to monitor. Then the Mikrotik device will use the Netwatch service to then send ICMP packets (pings) to them. When a host does not respond, it is considered to be down and we can act on that situation.
    /tool e-mail send to="axonakademi@gmail.com"
    subject="Link Status"
    body="Router Identity:$[/system identity get name]
    Date:$[/system clock get date]
    Time :$[/system clock get time]
    Status : Link is Down"
    Free CCNA Network Access Questions
    www.axonakademi...
    Free CCNA Network Fundamental Questions
    www.axonakademi...

Комментарии • 4

  • @johnagustin1851
    @johnagustin1851 Год назад +1

    Thanks for this brother!

  • @sezerdemir3814
    @sezerdemir3814 2 года назад

    very helpfull thanksss

  • @MfatihDemir1
    @MfatihDemir1 2 года назад

    good job

  • @talharafique8913
    @talharafique8913 4 месяца назад

    much appriciated, what will be script to write into logs for down and up notifications. ? like you mentioned in Netwatch for email !