My Nagios got a ton of snmp traps 5 days ago and is still processing them.
PROCESS EVENT: ID=2227910, SOURCE=2, TYPE=2, TIME=2018-08-16 11:24:08
PROCESS EVENT: ID=2227923, SOURCE=2, TYPE=2, TIME=2018-08-16 11:24:08
How do I clear all events until this moment so NAgios doesnt process the old ones?
Processing events from 5 days ago
Re: Processing events from 5 days ago
When the SNMP Trap process receives traps, it puts them in a folder to get processed and you should be able to delete the contents of the folder to remove any old received traps.
Go to this folder
and delete all of the files in there and that should remove the old traps.
Try that out and let us know how it works out for you.
Go to this folder
Code: Select all
/var/spool/snmpttTry that out and let us know how it works out for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Processing events from 5 days ago
I deleted the contents of the folder.
It is now (through out the night) procesing events from a day ago.
PROCESS EVENT: ID=7709352, SOURCE=2, TYPE=1, TIME=2018-08-21 10:50:49
Is there a way to clean up all events older then this moment?
It is now (through out the night) procesing events from a day ago.
PROCESS EVENT: ID=7709352, SOURCE=2, TYPE=1, TIME=2018-08-21 10:50:49
Is there a way to clean up all events older then this moment?
Re: Processing events from 5 days ago
I saw that you opened a ticket for this. Shall I close this post and only work through the ticket?
Be sure to check out our Knowledgebase for helpful articles and solutions!