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="[email protected]"
fromaddress="[email protected]"
body="A config change has occurred"
}

alert config_delete "object (.*) - obj_delete" {
email toaddress="[email protected]"
fromaddress="[email protected]"
body="A config change has occurred"
}

alert config_modify "object (.*) - modify" {
email toaddress="[email protected]"
fromaddress="[email protected]"
body="A config change has occurred"
}

 

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

alert config_create "object (.*) - create" {
email toaddress="[email protected]"
email toaddress="[email protected]"
fromaddress="[email protected]"
body="A config change has occurred"
}

 

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

Thank You