Hi Jake,
2 things, one already noted: - If you're on subscription, alerts|email|enable should be FALSE (confusing, yes, definitely) because that toggles the old alerter instead of the new one. If you're on CE, the old alerting system isn't supported. - I *think* (but I am not 100% sure) the new alerter mails the device's sysContact regardless of other settings. If you mean "to our old email address", could it be that one is set up as sysContact?
Tom
On 01/04/2014 07:55, Jake Hansen wrote:
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 mailto: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 mailto: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 mailto: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!
Jake Hansen Sr. Network Administrator ZTelco / Zray Technologies, Inc. 858-431-4411 Direct 858-565-2155 Office
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium