No :)... starting alerter.php did get me ALOT of emails :)
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
-----Original Message-----
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: 30. januar 2014 20:23
To: Observium Network Observation System
Subject: Re: [Observium] Need help getting the new alert system to send mail
are you running the mail sending thingeroo? :)
alerter.php
it should be run by the poller-wrapper if the config option is set, but err, that might be undocumented :)
$config['poller-wrapper']['alerter'] = TRUE;
adam.
On 2014-01-30 04:40, Thomas Raabo - Zitcom A/S wrote:
> Tried that.
>
> Did not help, nothing in /var/log/maillog
>
> Did a php mailer test and that works great
>
> <?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.";
> ?>
>
> This works great.
>
> 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
>
>
>
> -----Original Message-----
> From: observium [mailto:observium-bounces@observium.org] On Behalf Of
> Adam Armstrong
> Sent: 29. januar 2014 21:28
> To: Observium Network Observation System
> Subject: Re: [Observium] Need help getting the new alert system to
> send mail
>
> Try:
>
> $config['alerts']['email']['default'] = "adama@memetic.org";
> $config['alerts']['email']['from'] = "Observium Dev
> <adama@memetic.org>";
> $config['alerts']['email']['default_only'] = TRUE;
>
>
> Thanks,
> adam.
>
>
> On 2014-01-29 08:12, Thomas Raabo - Zitcom A/S wrote:
> It never sends and i dont see anything in the email log.
>
> //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;
>
> 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
>
> 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
>
> [1]
>
>
>
> Links:
> ------
> [1] http://www.zitcom.dk/
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium