Atharvaveda Parishishta (Jyotisha Selections) · by Vedic sages (Atharvaveda)
Chapter 3 · Planetary War
ग्रहयुद्ध
यत्किं चिद्दिविगतमन्तरिक्षजं वा भौमं वा भवति निमित्तमप्रशस्तम् ।तत्सर्वं स्तनितमहाभ्रविद्युद्वर्षैः शान्तं स्याद्भवति सदक्षिणैश्च होमैः ॥
In the full Atharvaveda Parishishta this is Parishishta 51, 5.3.
Whatever bad portent arises in the sky, in the air or on earth: all of it is calmed by thunder, big clouds, lightning and rain. Fire offerings with gifts to the priests calm it too.
Simple meaning: Bad portents in sky, air or earth are said to be calmed by rain and fire offerings.
ये देशा ग्रहगणभिन्नभूमिकम्पा येषां वा ग्रह उपयातचन्द्रसूर्यः ।
Lands shaken by planet clashes, or whose planet nears the Sun or Moon, are calmed by seven nights of rain.
प्रसव्यस्त्रिषु मासेषु संसर्गो मासिकः स्मृतः ।
Results come: the left pass in three months, mingling in one month, grazing in a fortnight, splitting in seven nights.
आग्नेया वासवाश्चैव वायव्या वारुणास्तथा ।
The groups of Agni, Vasava, Vayu and Varuna are all called good, as Garga says.