![](https://secure.gravatar.com/avatar/759420fa164aa1b3c9e06fb50e714c5e.jpg?s=120&d=mm&r=g)
Hi,
I have the exact same issue with the same config , alerts trigger, tested php mail to be working
How can we debug observium to check it's sending emails or getting errors etc ...
Thanks Daniel
Sent from my iPhone
On 9 Jan 2014, at 8:14 am, Mike Stupalov mike@observium.org wrote:
Hi,
On Thu, Jan 2, 2014 at 4:03 PM, Thomas Raabo - Zitcom A/S tr@zitcom.dk wrote: What i did J
//Alert
$config['alerts']['alerter']['default']['descr'] = "Observium Email Alert";
$config['alerts']['alerter']['default']['type'] = "email";
$config['alerts']['alerter']['default']['contact'] = "tr@zitcom.dk";
$config['alerts']['alerter']['default']['enable'] = TRUE;
Where you get this config examples? New alert system for now uses same config options as old alert system (see in includes/defaults.inc.php) ;)
No emails are send on alerts
So I tried to change the email backend
$config['email_backend'] = 'sendmail';
That did not help.
So I did a test to check the php mail module.
<?php $to = "tr@zitcom.dk"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "test@mgmt3.network.zitcom.dk"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?>
And that worked fine.
What is the problem?
I have an alert in Observium J
<image001.png>
Med venlig hilsen | Best regards Thomas Raabo Netværksansvarlig CCIE #33466 Zitcom A/S
Telefon: 70 40 00 00 E-mail: kontakt@zitcom.dk Direkte: 69 10 60 18 Direkte: tr@zitcom.dk
<image002.jpg>
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org/ _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium