How to exclude some IPs from SSH email alerts
Posted: 26 Jul 2023, 11:57
Hello,
Suppose my server IP is 1.1.1.1. I have script in servers like 2.2.2.2 and 3.3.3.3 that they connect to 1 every 10 minutes. I'm receiving SSH alert email every 10 minutes.
I didn't find a way to exclude the 2 and 3 IPs so that there won't be emails from them.
I should mention that accessing to servers are limited to specific IPs, so I don't worry about this request.
Is there any way to do that?
Thanks in advance
Suppose my server IP is 1.1.1.1. I have script in servers like 2.2.2.2 and 3.3.3.3 that they connect to 1 every 10 minutes. I'm receiving SSH alert email every 10 minutes.
I didn't find a way to exclude the 2 and 3 IPs so that there won't be emails from them.
I should mention that accessing to servers are limited to specific IPs, so I don't worry about this request.
Is there any way to do that?
Thanks in advance