Hi All,
I am having strange issue with one of our remote XI server the site which it monitors is sending huge amount of SNMP Traps into the system regarding various which we really do not need to do anything..However as these traps are getting processed at realtime its taking a hit on the system performance...I am wondering if we can use ip tables to somehow smooth out the bursty snmp trap traffic or atleast the processing of it..any thoughts would be welcome....
Cheers
Arnab
Using IP Tables to control SNMP trap rate
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Using IP Tables to control SNMP trap rate
You may be able to do something like this
Code: Select all
iptables -A INPUT -p tcp --dport 162 -m limit --limit 6/hour -j ACCEPTRe: Using IP Tables to control SNMP trap rate
HI Scott,
Thanks, I think its sort of working will have to leave it on and see if that actually causes the important stuff to get dropped
....
Cheers
Arnab
Thanks, I think its sort of working will have to leave it on and see if that actually causes the important stuff to get dropped
Cheers
Arnab
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Using IP Tables to control SNMP trap rate
This is going to set a limit period, it doesn't know the difference of what is important and what is not....