Community discussions

MikroTik App
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Netwatch send notification Teams

Sun Apr 16, 2023 12:52 pm

Hi, is there any script to send notification from netwatch when is server down to TEAMS? I have already TEAMS webhook link working ...

I have found this but hot to implement to netwatch?

https://www.incredigeek.com/home/send-p ... -routeros/
Thank you
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Sun Apr 16, 2023 2:29 pm

The quide is working...so please delete or close.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Mon Jul 10, 2023 5:43 pm

Hi,

can someone tell me if the Teams Webhook posting isn't maybe working for the last week or so on RouterOS? I didn't do any updates...
Do i need to use a different script maybe ? I was using this https://www.incredigeek.com/home/send-p ... -routeros/

Thanks,
MW
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19318
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Netwatch send notification Teams

Mon Jul 10, 2023 7:18 pm

 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Mon Jul 10, 2023 7:48 pm

The guide is still working for me.Try to set it up again.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Mon Jul 10, 2023 7:56 pm

Can you please how do you have it exactly without the url of course?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Mon Jul 10, 2023 8:07 pm

You should use netwatch for this script.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Mon Jul 10, 2023 8:08 pm

I am using netwatch, please if you can, just copy paste your settings without the URL of the webhooknso that i can compare
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Tue Jul 11, 2023 11:33 am

@Rox169 can you please tell me which RouterOS are you using? I didn't change or update anything, but it is not working anymore...
I have it like this..
You do not have the required permissions to view the files attached to this post.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Sun Jul 16, 2023 8:15 am

Anyone please? Did Mikrotik had any updates which could mess this up maybe?
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Mon Jul 24, 2023 11:12 am

Any news?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Mon Jul 24, 2023 2:05 pm

Anyone please? Did Mikrotik had any updates which could mess this up maybe?
Still working for me...try to set up from the begining
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Mon Jul 24, 2023 3:49 pm

Thanks,

Can you send me which router OS you are using and screenshot of your working script please?

Thanks
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Thu Aug 10, 2023 3:56 pm

I've reseted the device to default settings and it's not working for 2 different tenants. Seems like Mikrotik changed something.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Thu Aug 17, 2023 11:21 am

bump
 
txfz
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Tue Mar 10, 2020 9:02 am

Re: Netwatch send notification Teams

Thu Aug 17, 2023 11:47 am

Works for me, also.

http-method=post http-header-field="Content-Type: application/json" http-data="{\"text\": \"test\"}"

You didn't really explain your problem in great detail, though.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Thu Aug 17, 2023 11:51 am

Hi, thanks for the reply.

I have been using Mikrotik for years in SMB and also personally and I am fascinated with it from the start. Great work!

Now I have a small problem which is driving me nuts, on one HAP lite device which I use for monitoring network resources and using simple Netwatch scripts to send webhooks to Teams is not working.

This has been working for years and it stopped all of u sudden not sure why?

I am using RouterOS 6.49.8 on a RB951-2HnD, this is how I have the script set. The webhooks from other services is working on that particular Teams channel, so only from 2 different Mikrotik’s it is not.

Sending to Telegram works without any issues.

In the attach you can see the script itself.

Please let me know what could be the issue if you have any ideas?
You do not have the required permissions to view the files attached to this post.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: Netwatch send notification Teams

Thu Aug 17, 2023 12:03 pm

Works for me, also.

http-method=post http-header-field="Content-Type: application/json" http-data="{\"text\": \"test\"}"

You didn't really explain your problem in great detail, though.
can you please send me exact script which works for you - maybe it just a syntax error, but what bugs me I didn't change anything, but maybe mikrotik did in some update.. you can blur the URL. Thanks
 
txfz
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Tue Mar 10, 2020 9:02 am

Re: Netwatch send notification Teams

Thu Aug 17, 2023 1:07 pm

Run the command in the terminal and watch the output.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Thu Feb 01, 2024 9:47 am

Hi,

is teams notification working for anyone? My just stopped working.... it only says Couldn't start task: cannot open file: permission denied

But I do not know why... I did not changed anything...any advice?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: Netwatch send notification Teams

Sat Feb 10, 2024 9:54 am

Hi,

could please anyone help? How do you get notification when HW device is down?

Who is online

Users browsing this forum: jprietove and 31 guests