We ought not to grieve or become irritated at anything because, by frequent vexation and irritability, we form the morally and physically very injurious habit of irritability, whilst by bearing opposition with equanimity we form the good and useful habit of enduring everything calmly and patiently.
You ask for some way of completely eradicating irritability. The inclination to irritability is given us to use against sin, and we were never meant to use it against our fellow men. When we do, we act contrary to our true nature.
God the Word, the God-Man, our Lord Jesus Christ, compares our life with a market, and the work of our life on earth He calls trading, and says to us all: Trade till I come (Luke 19:13), redeeming the time, because the days are evil (Ephesians 5:16). That is to say, make the most of your time for getting heavenly blessings through earthly goods. Earthly goods are good works done for Christ's sake and conferring on us the grace of the All-Holy Spirit.