Forum: 

Observium Email Setup

David's picture

I'm checking out the new Observium appliance and was hoping to get some guidance on how to configure the email settings so i am able to receive alert emails. 

 

Any help would be greatly appreciated.

Thank you in advance.

Abdul's picture

Hi,

Did you check Observium site I hopr below links can help.

http://www.observium.org/wiki/Configuration_Options#Alert_Settings

http://www.observium.org/wiki/Creating_an_Alert_Checker

https://www.kickstarter.com/projects/588464062/observium-alerting

I did launch it on Amazon EC2, unfortunately it didn't work kept saying "No reply on community public using v1"

Did you manage to get it eworking?

Thanks,

Jeremy Davis's picture

So if it's not working OOTB, then there are 2 possibilities OTTOMH:

  • There is a bug in the TKL appliance - although TBH I'm not convinced of that, but stranger things have happened! :)
  • Your server/IP has been blacklisted and any mail is being blocked. This is a common issue with internet connections that have dynamic IPs. It can also happen with hosting companies (often have dodgey users that are sending spam, then you get allocated their old IP when they get kicked...)
David's picture

The appliance has been working quite well on our network besides the email portion which we could never get functioning.

Anyone have success with this aspect yet?

ChrisS's picture

I was wondering the same thing. I tried setting it up as well and couldnt' get it working

 

according to "Adam Armstrong" (bottom of the page) http://jira.observium.org/browse/OBSERVIUM-652

"Alerts in CE version are deprecated and not expected to work."

 

Guess it's time for (us) me to look tutorials in setting up sendmail and integrating it.

Jeremy Davis's picture

Thanks for the heads up Chris
David's picture

I was hoping the new release would have a fix, but that doesn't appear to be the case.

 

Maybe the next release will...

Adam Armstrong's picture

There is only legacy alerting code in the community edition currently, and it doesn't work properly.

Once development of the new alerting system is complete, it'll be pushed down to CE. It doesn't make sense for us to release unfinished code in CE as it's only updated every 6 months and would generate an avalanche of support queries for long-since-fixed bugs.

So don't bother with it for now. No alerting capability is as intended.

Jeremy Davis's picture

It sounds like many TurnKey Observium users are hanging out for this feature are looking forward to it being re-added...! :)

nn's picture

I added two emails in the contact list of observium alerts but iAM not receiving any alerts or push notifications 

How can I link the contacts in the contact lists to the alerts checkers or alerts

David's picture

The alerts only work with the subscription version. I set my contacts up in the config.php file.

Zain's picture

How to configure the email settings in Observium so i am able to receive alert emails. Any one please provide steps for Observium community edition email alert configuration in config.php.

Jeremy Davis's picture

As noted (even in the post directly above yours) that the email alerts does not work in the community version.
Jairo Rojas's picture

I need more information how I can configure the mail parameters..

Best Regards

Jeremy Davis's picture

As noted a number of times previously in this thread, Observium Community Edition doesn't currently support email notifications.

If you have purchased the subscription version of Observium, I suggest you check their documentation and/or contact their support mailing list.

Adam Armstrong's picture

Alerting is functional as of a couple of years ago. It's not advertised and very much not supported because of the release schedule. This is particularly relevant since Turnkey doesn't usually update the appliance until a year or so after release! :D The majority of alerting/emailing issues seem to be related to people filling the config.php with every setting they can find prior to trying to send alerts, and then not seeing if removing them all works. It usually does. Setting lots of settings usually results in a broken/frankenstein SMTP/Sendmail configuration. Removing all of the settings usually makes it start working! BTW, the reply system here is very broken. It deletes my comment when I click "preview", and then the captcha fails twice in a row, also deleting the comment each time...
Jeremy Davis's picture

Thanks so much for the correction Adam. I really appreciate that!

And apologise on the state of our website too, it's in desperate need of some love... :(

Yes, I know our release schedule leaves plenty of room for improvement too! :( We're working hard on fixing that, but as resourcing is one of our biggest hurdles. We have made some backend infrastructure tweaks which should (at least in theory) improve things. It means that we can update single appliances, rather than needing to update everything. So for projects such as yours with a stable release cycle, we're hoping to be able to keep things up to date a bit better.

But back to the issue at hand, all appliances have a local MTA configured (postfix). That allows users to use generic scripts/instructions to configure a remote SMTP relay.

Now that I'm aware that's back up and running, I'll make sure the next release includes email sending pre-configured and working!

Thanks again for the update.

Adam Armstrong's picture

Ahh. If the appliance is shipped with a working postfix, the user shouldn't need to configure much beyond :  $config['email']['default']      = "user@domain.com"; $config['email']['from']         = "Observium <observium@domain.com>"; $config['email']['default_only'] = TRUE;   The final line disables Observium's originally designed behaviour of sending alerts to the device's configured sysContact. Is there anything we can do to make releases easier? IIRC historically there have been a few issues with the appliances sometimes.
Jeremy Davis's picture

Thanks tons for the pointers with that. We'll be sure to include that in out next release.

Unfortunately, there's nothing anyone external can do to help just now. We're currently in the process of upgrading the base OS to Debian Stretch (the last release was Jessie based) so almost everything else has ground to a halt.

We were already running way behind schedule when we started and unfortunately, we've hit way more issues that we anticipated. Whilst it's incredibly frustrating, there's been some very valuable lessons for us to learn along the way. We're concurrently trying to build in fixes for internal friction points as we go this time around.

That's been a double edged sword though, extending the dev time of this release, but hopefully improving the release cycle once we finally get v15.0 out the door.

So long story short, fingers crossed we should have the next release of the library, inc a v15.0 Observium appliance with your latest build (available at build time) within the next month or so. Although we'll have to see how that timeframe goes.

Moving on from that, once we have v15.0 released, then we should be able to simply rebuild everytime you put out a new version. The grand plan is to automate as much of this as we can. We'll still do the final testing manually, but the build and preliminary testing should all be automated where possible.

So one thing that would be incredibly useful (post v15.0 release) would be new Observium release notifications. I have previously looked to see if you had anything like that (i.e. release feed, or announcement mailing list), but I couldn't find anything quite like that!? Did I miss something?

PS I generally prefer to have these discussions publicly, so this is great. But if you ever want to get in touch directly/privately, please feel free to ping me via jeremy AT turnkeylinux.org.

Post new comment