Descriptive:
* A herd of warthogs
* A sounder of warthogs (this is the term used for wild pigs, which are related to warthogs)
* A rooting of warthogs (referring to their foraging habits)
* A snorting of warthogs (referring to their characteristic snorts)
Humorous:
* A tuskery of warthogs
* A scrum of warthogs
Ultimately, the best option depends on the context and your own personal preference.