The default turnkey setup was last i looked, running pretty old code.
It also ships with a very low number of poller threads, which causes issues for a lot of users.
In general, I just wouldn't bother with it. It's only saving you about 15 minutes.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 14/06/2016 14:52:00, Fredrik Winäs fredrik.winas@cgit.se wrote: Thanks It seems to be working now. I will look in to using a local MTA. About turnkey, what code is old? I have a Observium subscription and running 0.16.5.7901 //Fredrik Winäs tel +46 31 762 02 43 From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: den 13 juni 2016 22:07 To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] SMTP fail, ignores settings in config.php And when I say never, I mean we get constant questions about it not working, and the solution is /always/ to use a local MTA. Don't try to be a martyr. Adam. Sent from BlueMail [http://www.bluemail.me/r] On 13 Jun 2016, at 21:05, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote: And you need to not be using a shitty turnkey appliance which is running old code. But in general, don't use SMTP because it never works properly. Adam. Sent from BlueMail [http://www.bluemail.me/r] On 13 Jun 2016, at 20:53, Spencer Ryan < sryan@arbor.net [mailto:sryan@arbor.net]> wrote: Email backend needs to be 'smtp'
Spencer Ryan | Senior Systems Administrator | sryan@arbor.net [mailto:sryan@arbor.net] Arbor Networks +1.734.794.5033 (d) | +1.734.846.2053 (m) www.arbornetworks.com [http://www.arbornetworks.com/] On Mon, Jun 13, 2016 at 3:28 PM, Fredrik Winäs <Fredrik.Winas@cgit.se [mailto:Fredrik.Winas@cgit.se]> wrote: Hi I’m trying to figure out what has happend to the mail in our observium. It was working for a while but not now.. My Observium is a TurnKey appliance download. Now i can see that it’s trying to open port 25 on a server that it’s not supposed to go to.. Don’t know if someone have been messing with the server.. Here is my config.php settings. // Enable alerter (not available in CE) #$config['poller-wrapper']['alerter'] = TRUE; // Set up a default alerter (email to a single address) $config['alerts']['alerter']['default']['descr'] = "Default Email Alert"; $config['alerts']['alerter']['default']['type'] = "email"; $config['alerts']['alerter']['default']['contact'] = "driftlarm@xxxxxx.se [mailto:driftlarm@xxxxxx.se]"; $config['alerts']['alerter']['default']['enable'] = TRUE; //Email settings $config['email']['default'] = "driftlarm@cgit.se [mailto:driftlarm@cgit.se]"; $config['email']['default_only'] = TRUE; $config['email']['from'] = "CGit Observium <observium@xxxxx.se [mailto:observium@xxxxx.se]>"; $config['email']['backend'] = 'mail'; $config['email']['smtp_host'] = 'smtprelay1.hosting.local'; $config['email']['smtp_port'] = 25; $config['email']['smtp_timeout'] = 10; $config['email']['smtp_secure'] = FALSE; $config['email']['enable'] = TRUE; $config['email']['smtp_auth'] = FALSE; $config['email']['smtp_username'] = NULL; $config['email']['smtp_password'] = NULL; ping smtprelay1.hosting.local PING smtprelay1.hosting.local (172.31.232.15) 56(84) bytes of data. 64 bytes from smtprelay1.hosting.local (172.31.232.15): icmp_seq=1 ttl=64 time=0.460 ms /opt/observium# ./test_alert.php -a 34 MIB search path: /opt/observium/mibs Cannot find module (LM-SENSORS-MIB): At line 0 in (none) Observium 0.16.5.7901 Test Alert Notification ##### Software versions ##### o OS Linux 3.16.0-4-amd64 [amd64] (Debian 8.1) o Apache 2.4.10 o PHP 5.6.20-0+deb8u1 (OPcache: DISABLED) o Python 2.7.9 o MySQL 5.5.49-0+deb8u1 (extension: mysqli 5.5.49) o SNMP NET-SNMP 5.7.2.1 o RRDtool 1.4.8 ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8 ##### Timezones info ##### o Date Monday, 13-Jun-16 21:23:47 CEST o PHP +02:00 o MySQL +02:00 o Notifying [email] Driftlarm: {"email":"driftlarm@cgit.se [mailto:driftlarm@cgit.se]"} root@observium1 /opt/observium# Output from tcptrack Client Server State Idle A Speed 172.31.232.40:38086 [http://172.31.232.40:38086%5D%C2%A0%C2%A0 172.16.102.16:25 [http://172.16.102.16:25%5D%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0 SYN_SENT 1s 0 B/s 172.31.232.40:38088 [http://172.31.232.40:38088%5D%C2%A0%C2%A0 172.16.102.16:25 [http://172.16.102.16:25%5D%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0 SYN_SENT 28s 0 B/s 172.31.232.40:38090 [http://172.31.232.40:38090%5D%C2%A0%C2%A0 172.16.102.16:25 [http://172.16.102.16:25%5D%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0 SYN_SENT 28s 0 B/s And as you can see it’s not supposed to connect to 172.16.102.16. that server does not even have a SMTP server on it. Med Vänlig Hälsning Fredrik Winäs tel +46 31 762 02 43 [tel:%2B46%2031%C2%A0762%2002%2043] fredrik.winas@cgit.se [mailto:fredrik.winas@cgit.se] www.cgit.se [http://www.cgit.se/] CGit AB Taljegårdsgatan 11C SE-431 53 Mölndal
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]