Community discussions

MikroTik App
 
jpinheiro
just joined
Topic Author
Posts: 1
Joined: Fri Sep 16, 2011 2:36 pm

Be notified if 2 redundant devices go down

Fri Sep 16, 2011 5:28 pm

Hi,

I wonder if there is any way to monitor 2 devices, and get one notification only if both go down.
I have a lot of redundant devices on my network, and i need to be notified, day or night, if they are down, but only if they are both down.

I don't want to be disturbed in the middle of the night if only one is down, it can wait until next morning to be solved.
But if the malfunction affects both devices... well... :shock: I really have to solve it.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Be notified if 2 redundant devices go down

Mon Sep 19, 2011 5:18 pm

I don't know of a good way to do event correlation in the dude... Maybe someone else does.

Simple event correlator can coordinate log messages into precise notifications. http://simple-evcorr.sourceforge.net/ You will need a Linux box and a little perl know how.

HTH,
Lebowski
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Be notified if 2 redundant devices go down

Tue Sep 20, 2011 12:57 pm

can't you put both of them in a submap, and set up notification if all of the submap is down (both devices)?
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Be notified if 2 redundant devices go down

Wed Sep 21, 2011 5:10 pm

Hey Normis I looked around but didn't see how you accomplish your suggestion could you explain it? Thanks!

Lebowski
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Be notified if 2 redundant devices go down

Thu Sep 22, 2011 10:01 am

you can configure notifications on a per-map basis, can't you? when all devices in a submap go down (submap icon turns red), then run some notification. to all you need to do, is put those two devices in a separate map, and configure the map to send a notification.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Be notified if 2 redundant devices go down

Thu Sep 22, 2011 6:53 pm

After looking yes it should be simple right? Select notification on a map, create new notification, put the description of the map in the new notification, set the appropriate options and you should get an email since the map status changes from up to down but I did not get an email also the map went from up to down when only one device was down. I'll think about it and get back if I come up with another way.
test.png
testmap.png
testdown.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
gsandul
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 19, 2009 1:42 pm

Re: Be notified if 2 redundant devices go down

Mon Sep 26, 2011 3:58 pm

you can configure notifications on a per-map basis, can't you? when all devices in a submap go down (submap icon turns red), then run some notification. to all you need to do, is put those two devices in a separate map, and configure the map to send a notification.
That is not right.
The notification is triggered when service is changing it's state. It is not related to map at all.
The only solution is to create probe which will use ping function for both ip addresses of related devices.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Be notified if 2 redundant devices go down

Tue Sep 27, 2011 10:04 am

sorry, you are right. those are only default settings for the devices inside this map. map settings override global settings, and individual settings override both the map and global settings, but they are all still individual notification settings for devices.

ie. if you set up notification parameters for the map, it will ignore your global defaults, and if you set up nofication settings per defice, it will ignore any more generic defaults.

currently there is no simple way to do what the OP asked