Community discussions

MikroTik App
 
ram3shakula
just joined
Topic Author
Posts: 1
Joined: Sat Feb 04, 2023 6:03 am

Monitor Multiple hosts - TELEGRAM ALERTS

Sat Feb 04, 2023 6:27 am

Dear MT Family,

I hope this message finds you well. I am currently searching for a Mikrotik script that can monitor multiple hosts every 5 minutes and send me alerts if any of them goes down. Additionally, I would like to receive a message when the host comes back up.

I have tried searching online for such a script but have not been successful. If any of you have experience with Mikrotik scripting or know of a script that can perform the task I described, I would be grateful for your help.

Thank you in advance for your time and assistance.

Best regards,

Ram
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1070
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: Monitor Multiple hosts - TELEGRAM ALERTS

Mon Feb 06, 2023 9:26 am

You may want to have a look at Notify on host up and down, which does what you want and a lot more.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Monitor Multiple hosts - TELEGRAM ALERTS

Mon Feb 06, 2023 12:14 pm

Search on how to use Telegram/Pushbullet/email etc, then setup monitoring with a script using Netwatch on a router.
If a router does not see the remote routers IP online, it triggers a script, that sends a message that IP is down.


----------------------------------------------------------------------------------------
Use Splunk> to log/monitor your MikroTik Router(s). See link below. :mrgreen:

MikroTik->Splunk

Who is online

Users browsing this forum: drpioneer and 23 guests