Sorry if this has been posted before but I have been trying to find it for a few hours now.
I'm trying to find where the system sets the emailto field when hosts go down.
Right now, when a host goes down, somehow its still emailing the old email address sometimes. I have grep -R the entire /opt/observium folder but nothing comes up. I have also tried to set the following setting to no avail
$config['alerts']['email']['enable'] = TRUE;
$config['alerts']['email']['default'] = "netops@blah.com";
$config['alerts']['alerter']['default']['descr'] = "Default Email Alert"; $config['alerts']['alerter']['default']['type'] = "email"; $config['alerts']['alerter']['default']['contact'] = "netops@blah.com"; $config['alerts']['alerter']['default']['enable'] = TRUE;
But sometimes some of the emails(not all) will still go out to our old email address help@blah.com
I cant for the life of me figure out how to fix it and have been scouring the observium docs to no avail.
Any help would be most appreciated.
Thanks!