[ZBX-10247] A TLS connection is configured to be used with agent but support for TLS was not compiled into server. Created: 2016 Jan 08  Updated: 2017 May 30  Resolved: 2016 Jan 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.0.0alpha4
Fix Version/s: 3.0.0alpha6

Type: Incident report Priority: Minor
Reporter: Marc Arbour Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: agent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 14.04 fully updated, zabbix agent 2.4.7-1


Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png     PNG File screenshot-3.png    

 Description   

As stated in https://www.zabbix.com/forum/showthread.php?p=176600#post176600

There is no encryption setup for the host. The zabbix agentd conf has nothing on encryption. The server, in version alpha4 keeps saying "A TLS connection is configured to be used with agent but support for TLS was not compiled into server." while a clear "NONE" is indicated in the encryption column.

The remote command to execute is /etc/init.d/apache2 restart once swap % usage has reached critical levels. This is done via an action on a specific trigger

I have tried cloning host, creating manually, changing agent configuration and version, I have allowed root to no avail.



 Comments   
Comment by Marc Arbour [ 2016 Jan 08 ]

I stand available to provide any and all missing information to help trouble shoot the issue and find the solution.

Best regards.

Marc

Comment by Andris Mednis [ 2016 Jan 08 ]

If possible, can you try the current development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1263-2 ? Things have changed, but not yet merged into alpha release.

Comment by Marc Arbour [ 2016 Jan 08 ]

Yes of course I can.

Could you direct me to some kind of tutorial I could read on getting svn version dumped into my server, then how I could install it please?

I am savvy enough to install from sources, but I have never been introduced to svn before.

Thanks in advance.

Comment by Andris Mednis [ 2016 Jan 08 ]

As a 1st step, can you check in Zabbix server database what is the value of "tls_connect" column in "hosts" table for this host, like

select tls_connect from hosts where hostid=10084;

(replace with your hostid value)

Comment by Andris Mednis [ 2016 Jan 08 ]

You can get sources to your machine like this:

svn co svn://svn.zabbix.com/branches/dev/ZBXNEXT-1263-2 ZBXNEXT-1263-2-test

Here "ZBXNEXT-1263-2-test" is the name of subdirectory where source tree will be copied into.

Comment by Marc Arbour [ 2016 Jan 08 ]

executing the select yields a 1 for my host. I foolishly tought putting a 0 to disable it would make it unencrypted but I soon realized I was mistaken.

As it stands now, its value is 1 for unencrypted.

Comment by Glebs Ivanovskis (Inactive) [ 2016 Jan 08 ]

Remote commands were broken in 3.0.0alpha3 and 3.0.0alpha4. If you don't want encryption for remote commands try 3.0.0alpha5, it offers a quick fix enabling at least unencrypted commands. Proper fix of remote commands both encrypted and unencrypted is in ZBXNEXT-1263 development branch.

Comment by Marc Arbour [ 2016 Jan 08 ]

ok, thanks a million. At least now I know what the problem is and how I can fix this.

Would you suggest I close this request for bug support then?

Marc

Comment by Glebs Ivanovskis (Inactive) [ 2016 Jan 08 ]

Yes, this issue is a duplicate of subissue (127) in ZBXNEXT-1263.

Comment by Marc Arbour [ 2016 Jan 08 ]

this is a duplicate from subissue https://support.zabbix.com/browse/ZBXNEXT-1263?focusedCommentId=157612&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157612

I am sorry. I am not very savvy with bug trackers and how to search in them.

Comment by Aleksandrs Saveljevs [ 2016 Jan 08 ]

No problem, Marc. Thanks for testing Zabbix 3.0 alphas!

Comment by Marc Arbour [ 2016 Jan 08 ]

Now THAT is my pleasure!

Can't wait for dinosaurs at the office to turn the head on appliances dating from pre-internet age... LOL!

Comment by richlv [ 2016 Jan 08 ]

also see some brief instructions on accessing zabbix svn at http://zabbix.org/wiki/Get_Zabbix

Generated at Wed Apr 16 14:16:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.