alerts config query