I have multiple hosts that are linked with each other in a chain.
As an example from the closest end to the far end:
Local Router --> AP --> Station --> Remote Router --> Device
What I'm trying to achieve is that when one device in the upper link of the chain goes down, I get a notification on that specific device and not notifications of any of the other devices lower down in the chain.
In other words if the station goes down, I don't want to get notified when the device and the remote router is down when the station is down. It is obvious the device and remote router will be down because the station is unreachable.
I have tried creating a trigger in each of these hosts where I used an expression to check if the specific device is unavailable by ICMP and the other device upstream is available by ICMP.
Here is what I tried at all these devices:
Device:
{Device:icmpping.max(#5)}=0 and {Remote Router:icmpping.max(#5)}=5 and {Station:icmpping.max(#5)}=5 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
Remote Router:
{Remote Router:icmpping.max(#5)}=0 and {Station:icmpping.max(#5)}=5 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
Station:
{Station:icmpping.max(#5)}=0 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
AP:
{AP:icmpping.max(#5)}=0 and {Local Router:icmpping.max(#5)}=5
Local Router:
{Local Router:icmpping.max(#5)}=0
I have no luck with the above.
I tried the same as well with using Actions instead and using a combination of Trigger equals / trigger does not equal conditions.
I'm at a complete loss.
Any help will be greatly appreciated.
As an example from the closest end to the far end:
Local Router --> AP --> Station --> Remote Router --> Device
What I'm trying to achieve is that when one device in the upper link of the chain goes down, I get a notification on that specific device and not notifications of any of the other devices lower down in the chain.
In other words if the station goes down, I don't want to get notified when the device and the remote router is down when the station is down. It is obvious the device and remote router will be down because the station is unreachable.
I have tried creating a trigger in each of these hosts where I used an expression to check if the specific device is unavailable by ICMP and the other device upstream is available by ICMP.
Here is what I tried at all these devices:
Device:
{Device:icmpping.max(#5)}=0 and {Remote Router:icmpping.max(#5)}=5 and {Station:icmpping.max(#5)}=5 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
Remote Router:
{Remote Router:icmpping.max(#5)}=0 and {Station:icmpping.max(#5)}=5 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
Station:
{Station:icmpping.max(#5)}=0 and {AP:icmpping.max(#5)}=5 and {Local Router:icmpping.max(#5)}=5
AP:
{AP:icmpping.max(#5)}=0 and {Local Router:icmpping.max(#5)}=5
Local Router:
{Local Router:icmpping.max(#5)}=0
I have no luck with the above.
I tried the same as well with using Actions instead and using a combination of Trigger equals / trigger does not equal conditions.
I'm at a complete loss.
Any help will be greatly appreciated.
Comment