Forum Discussion

kbk4912's avatar
kbk4912
Icon for Nimbostratus rankNimbostratus
Jan 18, 2024
Solved

Is it possible to enter multiple emails instead of one for alerts?

This is the syntax normally-

alert config_create "object (.*) - create" {
email toaddress="bigadmin@example.com"
fromaddress="root@bigipa.example.com"
body="A config change has occurred"
}

alert config_delete "object (.*) - obj_delete" {
email toaddress="bigadmin@example.com"
fromaddress="root@bigipa.example.com"
body="A config change has occurred"
}

alert config_modify "object (.*) - modify" {
email toaddress="bigadmins@example.com"
fromaddress="root@bigipa.example.com"
body="A config change has occurred"
}

 

I have tried to add a second email by doing this-

alert config_create "object (.*) - create" {
email toaddress="bigadmin@example.com"
email toaddress="bigadmintest@example.com"
fromaddress="root@bigipa.example.com"
body="A config change has occurred"
}

 

Which does not work. Can we have multiple email addresses? Or is only 1 possible?

Thank You