This is my config on the graylog server: # Email transport transport_email_enabled = true transport_email_protocol = smtp transport_email_hostname = localhost transport_email_port = 25 #transport_email_use_auth = true #transport_email_use_tls = true #transport_email_auth_username = [email protected] #transport_email_auth_password = secret transport_email_subject_prefix = [graylog2] transport_email_from_email = [email protected] transport_email_from_name = Graylog2 transport_email_web_interface_url = http://10.162.0.21:3000
The graylog server and web interface are in separate hosts, does the server attempts to contact the "transport_email_web_interface_url" ? If so, that is not open on our security group. -Miguel On Tuesday, April 22, 2014 10:09:33 AM UTC-4, Kay Röpke wrote: > > Hi! > > Yes, I would be very much surprised if it read the /etc/profiles env > variable, as Java programs aren't likely to. > Also, it is the server that sends the email, not the web interface, but > that changes nothing. > > The email alert system should use whatever mail server you have configured > through the graylog2 server config file. I do not thing it would pick any > system-wide proxy at all, on any system. > > Please also check what the graylog2 server log says, the line below is > from the web interface. > > Best, > -k > > On Tuesday, April 22, 2014 4:18:37 AM UTC+2, Miguel Cruz wrote: >> >> I'm trying to configure alerts and when i click on the "Send test alert" >> I get an error: >> Error! ×Unable to send dummy alert, check server log for details: API >> call failed GET >> http://@10.162.0.17:12900/streams/5355ca40e4b062bcf9b28836/alerts/sendDummyAlert<http://10.162.0.17:12900/streams/5355ca40e4b062bcf9b28836/alerts/sendDummyAlert>returned >> 500 Internal Server Error body: Sending the email to the following >> server failed : localhost:25 >> >> Just as a test I sent a email from the command line of the same server >> and it worked so i know postfix is working properly. >> >> I'm pretty sure graylog-web is not following the NO_PROXY env variable >> set in /etc/profiles. >> >> Where do i need to enter the no proxy line for the web interface to >> follow it. >> >> >> Cheers, >> -Miguel >> > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
