Need help getting the new alert system to send mail
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.dkmailto: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<mailto:tr@zitcom.dk>"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "test@mgmt3.network.zitcom.dk<mailto: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 ☺ [cid:image001.png@01CF1D04.808888E0]
Med venlig hilsen | Best regards Thomas Raabo Netværksansvarlig CCIE #33466 Zitcom A/S
Telefon: 70 40 00 00 E-mail: kontakt@zitcom.dkmailto:kontakt@zitcom.dk Direkte: 69 10 60 18 Direkte: tr@zitcom.dkmailto:tr@zitcom.dk
[cid:image005.jpg@01CEDC86.E897E480]http://www.zitcom.dk/
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:
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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:
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
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:
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
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:
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
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.dkwrote:
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:
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
Err, what about smtp server, etc. is that in another config? Does the alerter code use phpmail?
Thanks, Scott Brawner Description: cid:image002.jpg@01CBD278.0CADB410
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:
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
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 didnt 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:
See defaults.inc.php for settings for email.
On 02/19/2014 04:15 PM, Scott Brawner wrote:
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 mailto:adama@memetic.org";
$config['alerts']['email']['from'] = "Observium Dev <adama@memetic.org mailto: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 mailto: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 mailto:kontakt@zitcom.dk Direkte: 69 10 60 18 Direkte: tr@zitcom.dk mailto:tr@zitcom.dk
-----Original Message----- From: observium [mailto:observium-bounces@observium.org 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 mailto:tr@zitcom.dk"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "test@mgmt3.network.zitcom.dk
mailto: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 mailto:tr@zitcom.dk
-----Original Message----- From: observium [mailto:observium-bounces@observium.org
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 mailto: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 mailto:tr@zitcom.dk";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "test@mgmt3.network.zitcom.dk
mailto: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 mailto:tr@zitcom.dk
[1]
Links:
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I set everything up, but not working. Halp?
Thanks, Scott Brawner Description: cid:image002.jpg@01CBD278.0CADB410
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Wednesday, February 19, 2014 10:36 AM To: Observium Network Observation System Subject: Re: [Observium] Need help getting the new alert system to send mail
See defaults.inc.php for settings for email.
On 02/19/2014 04:15 PM, Scott Brawner wrote:
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 didnt 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:
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
What did you install Observium on?
adam.
On 2014-02-21 08:43, Scott Brawner wrote:
I set everything up, but not working. Halp?
Thanks, Scott Brawner
FROM: observium [mailto:observium-bounces@observium.org] ON BEHALF OF Tom Laermans SENT: Wednesday, February 19, 2014 10:36 AM TO: Observium Network Observation System SUBJECT: Re: [Observium] Need help getting the new alert system to send mail
See defaults.inc.php for settings for email.
On 02/19/2014 04:15 PM, Scott Brawner wrote:
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/ [2]
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]
Links:
[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [2] http://www.zitcom.dk/
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Ubuntu 12
Thanks, Scott Brawner
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Friday, February 21, 2014 1:33 PM To: Observium Network Observation System Subject: Re: [Observium] Need help getting the new alert system to send mail
What did you install Observium on?
adam.
On 2014-02-21 08:43, Scott Brawner wrote:
I set everything up, but not working. Halp?
Thanks, Scott Brawner
FROM: observium [mailto:observium-bounces@observium.org] ON BEHALF OF Tom Laermans SENT: Wednesday, February 19, 2014 10:36 AM TO: Observium Network Observation System SUBJECT: Re: [Observium] Need help getting the new alert system to send mail
See defaults.inc.php for settings for email.
On 02/19/2014 04:15 PM, Scott Brawner wrote:
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/ [2]
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]
Links:
[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [2] 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
I recently tried to turn alerts on myself, and quickly discovered Google Apps for domains (Gmail for domains) silently discards alerts from Observium.
Guess it's time for me to go back to maintaining my own email infrastructure. Huge PITA it is, I can't have some pencil neck deciding what is and isn't even accepted to my SPAM folder where I can classify it if I so desire.
And yes before you ask regular email from the same host always arrives. Only observium alerts. Probably they've decided it too closely matches some spam bot format.
On Fri, Feb 21, 2014 at 6:43 AM, Scott Brawner < Scott.Brawner@kratosdefense.com> wrote:
I set everything up, but not working. Halp?
Thanks, Scott Brawner [image: Description: cid:image002.jpg@01CBD278.0CADB410]
*From:* observium [mailto:observium-bounces@observium.org] *On Behalf Of *Tom Laermans *Sent:* Wednesday, February 19, 2014 10:36 AM
*To:* Observium Network Observation System *Subject:* Re: [Observium] Need help getting the new alert system to send mail
See defaults.inc.php for settings for email.
On 02/19/2014 04:15 PM, Scott Brawner wrote:
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.orgobservium-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.orgobservium-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:
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
participants (6)
-
Adam Armstrong
-
Daniel Rolfe
-
Michael Loftis
-
Scott Brawner
-
Thomas Raabo - Zitcom A/S
-
Tom Laermans