Would be good to have all the logs automatically forwarded under
infrastructure tags to the built in EFK stack.

Similarly with metrics. Tectonic show the per project haproxy metrics in
the console.

Subhendu

On Feb 21, 2017 7:18 PM, "Ram Ranganathan" <rrang...@redhat.com> wrote:

> As Phil mentioned, you can check if the iptables rule is blocking it.
>
> Simple test would be to rsh into the router pod and use netcat to send a
> message.
> $ oc rsh <router-pod-name>
> pod>  echo '<14> user test message from router pod' | nc -w 2 -u
> <node-host-ip> 514
>
> And maybe try from the host (openshift-node) or another node as well.
> $ echo '<14> user test message from the node' | nc -w 2 -u <node-host-ip>
> 514
>
> And if you need to open the port you could use something like:
> $ sudo iptables -I INPUT -p udp -s <router-node-ips> --dport 514 -j ACCEPT
> $ sudo service iptables save
> $ sudo service iptables restart
>
> HTH
>
> On Mon, Feb 20, 2017 at 3:16 AM, Julio Saura <jsa...@hiberus.com> wrote:
>
>> hello
>>
>> any clue please?
>>
>> thanks
>>
>>
>> El 17 feb 2017, a las 10:04, Julio Saura <jsa...@hiberus.com> escribió:
>>
>> Hello
>>
>> i need to enable haproxy access logs on my openshift routers..
>>
>> i followed the guide and enabled a syslog server on my net ..
>>
>> after adding env variables on my router dc for poiting to my syslog
>> server i don’t see any packet sent to my syslog server ( tcpdump on my
>> syslog servers shows no traffic on syslog port tcp or udp ) y put haproxy
>> log level to debug for being sure it generates logs.
>>
>> if i describe my router pods y see env variables are passed and filled
>> with the right values ,  and the routers have been redeployed by the router
>> DC ..
>>
>> anything else i am missing?
>>
>> thanks
>>
>> Best regards
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
> Ram//
> main(O,s){s=--O;10<putchar(3^O?97-(15&7183>>4*s)*(O++?-1:1):10)&&\
> main(++O,s++);}
>
> _______________________________________________
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to