Hello!
Was wondering how to get the email alerts working/tested. Does the subscription system use phpmail, sendmail, postfix, what?
There are some legacy configuration directives in my config.php from the CE version, before I learned it didn’t work… do I need to take them out?
Thanks,
Scott Brawner
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Scott Brawner
Sent: Tuesday, February 18, 2014 7:46 AM
To: Observium Network Observation System
Subject: Re: [Observium] Need help getting the new alert system to send mail
Err, what about smtp server, etc. is that in another config? Does the alerter code use phpmail?
Thanks,
Scott Brawner
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Daniel Rolfe
Sent: Monday, February 17, 2014 7:31 PM
To: Observium Network Observation System
Subject: Re: [Observium] Need help getting the new alert system to send mail
HI,
So just to be clear, on the subscription version, to use the "new" alerting system, the below is the only lines required to get the email working ? (changing email address of-course)
$config['alerts']['email']['default'] = "adama@memetic.org";
$config['alerts']['email']['from'] = "Observium Dev <adama@memetic.org>";
$config['alerts']['email']['default_only'] = TRUE;
$config['poller-wrapper']['alerter'] = TRUE;
Regards, Daniel
On Mon, Feb 3, 2014 at 6:37 PM, Thomas Raabo - Zitcom A/S <tr@zitcom.dk> wrote:
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/
>