Fetch configuration. Wazuh API error: 1735 - Agent version is not compatible with this feature: Minimum required version is 3.7.0?
Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/a129b396-abbe-45eb-b0cc-6551f26df9e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Juan,Hmmz, are you sure?Since the upgrade we get this error now.Fetch configuration. Wazuh API error: 1735 - Agent version is not compatible with this feature: Minimum required version is 3.7.0?
Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/94bdb354-a64e-4399-8951-d82a26020940%40googlegroups.com.
Hi Juancarlos,Thank you for the help and answers to my questions.Your recent reply is rather contradictory to your previous reply. Stating that all agents are backwards compatible and then the following reply, states some features will not work backwardsThis generally means they are not backwards compatible as things do not work. This kind of information should be included in the upgrade documentation, as it does not appears to in thesteps for upgrading. Reason I bring this up is people reading the documentation would assume that upgrading the manager is all you need to do and everything will work perfectly as is.However, if I had read that I had to upgrade the manager and the agents. Then it would of been part of the my whole technical strategy when planning the upgrade. I feelthis kind of information is crucial for upgrades....no?Just my suggestion :)Thank you again.
Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/2715face-e6cc-4a3c-b0d5-d9ce56d0efb2%40googlegroups.com.
agent_upgrade -a 002 -dF -v v3.0.0 -r http://mycompany.wpkrepo.com/ -t 500
agent_upgrade -a 002 -dF -v v3.7.0 -r http://mycompany.reponotwpk.com/ -t 500 <--can it be like this?
Can we not use deb and rpm files provided by you and how does it work on on windows?
Cheers
Hello,
Still waiting for a response on this?Could someone please chime in :)Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/210791a1-793f-4502-8567-f320c05438a4%40googlegroups.com.
/var/ossec/bin/agent_upgrade -a 001Hello Juancarlos,Perfect, thats what i wanted to know.I was kinda hoping we could just use the command to use your repos? is that possible?Also the linux wpk will work on any distro?Cheers
Hi Juancarlos,Sweet,Is there a command that i can that will cycle through all the agent and upgrade instead of having to do them one by one?Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/89c16bb8-08cd-496d-9a57-9574cef3b94b%40googlegroups.com.
Is there a command that i can that will cycle through all the agent and upgrade instead of having to do them one by one?
Also does the agent-upgrade command also restart the agent after the upgrade?
---------- Forwarded message ---------
From: Nicholai Tailor
Date: Wed, Nov 28, 2018 at 6:44 PM
Subject: Re: Wazuh 3.7 agent upgrades questions
To:
Hi Juancarlos,Also does the agent-upgrade command also restart the agent after the upgrade?Or is that a separate step?
Cheers
On Wed, Nov 28, 2018 at 6:39 PM Nicholai Tailor wrote:
Hi Juancarlos,Sweet,Is there a command that i can that will cycle through all the agent and upgrade instead of having to do them one by one?Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/bb793337-e416-4538-892b-92b574d579ea%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/84d9aa69-61b3-4349-b161-47383c7f76b2%40googlegroups.com.
HI Juancarlos,Okay cool,And lastly does the agent_upgade restart the agent upon completing the upgrade?Or do i need to restart them manually after?
Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/ad6cb59d-b5e6-4cdd-9a6d-e225d1ad5d8e%40googlegroups.com.
[root@manager-centos7 vagrant]# /var/ossec/bin/agent_upgrade -l
ID Name Version
001 vagrant-2012-r2 Wazuh v3.3.0
Total outdated agents: 1
[root@manager-centos7 vagrant]# /var/ossec/bin/agent_upgrade -a 001 -d
Manager version: v3.7.0
Agent version: v3.3.0
Agent new version: v3.7.0
Downloading WPK file from: https://packages.wazuh.com/wpk/windows/wazuh_agent_v3.7.0_windows.wpk
WPK file downloaded: /var/ossec/var/upgrade/wazuh_agent_v3.7.0_windows.wpk - SHA1SUM: 79678fd4ab800879aacd4451a64e799c62688b64
Upgrade PKG: wazuh_agent_v3.7.0_windows.wpk (2108 KB)
MSG SENT: 001 com open wb wazuh_agent_v3.7.0_windows.wpk
RESPONSE: ok
MSG SENT: 001 com lock_restart -1
RESPONSE: ok
Chunk size: 512 bytes
Sending: /var/ossec/var/upgrade/wazuh_agent_v3.7.0_windows.wpk
MSG SENT: 001 com close wazuh_agent_v3.7.0_windows.wpk
RESPONSE: ok
MSG SENT: 001 com sha1 wazuh_agent_v3.7.0_windows.wpk
RESPONSE: ok 79678fd4ab800879aacd4451a64e799c62688b64
WPK file sent
MSG SENT: 001 com upgrade wazuh_agent_v3.7.0_windows.wpk upgrade.bat
RESPONSE: ok 0
Upgrade procedure started
MSG SENT: 001 com upgrade_result
RESPONSE: ok 0
Agent upgraded successfully

2018/11/29 19:43:43 ossec-agent: DEBUG: Received message: '#!-req f3a1a601 com open wb wazuh_agent_v3.7.0_windows.wpk'
2018/11/29 19:43:43 ossec-agent: DEBUG: Received message: '#!-req f3a1a601 ack'
2018/11/29 19:43:43 ossec-agent: DEBUG: Received message: '#!-req f3a1a602 com lock_restart -1'
2018/11/29 19:43:43 ossec-agent: DEBUG: req_receiver(): sending '#!-req f3a1a602 ok' to server
2018/11/29 19:52:26 ossec-agent: DEBUG: Received message: '#!-req f3a1c52b ack'
2018/11/29 19:52:26 ossec-agent: DEBUG: Received message: '#!-req f3a1c52c com upgrade wazuh_agent_v3.7.0_windows.wpk upgrade.bat'
2018/11/29 19:52:32 ossec-agent: INFO: Received exit signal.
2018/11/29 19:52:32 ossec-agent: INFO: Exiting...
2018/11/29 19:52:40 ossec-agent: DEBUG: Received message: '#!-req f3a1c52d com upgrade_result'
2018/11/29 19:52:40 ossec-agent: DEBUG: At WCOM upgrade_result: Cannot read file 'upgrade\upgrade_result'.
2018/11/29 19:52:40 ossec-agent: DEBUG: req_receiver(): sending '#!-req f3a1c52d err Cannot read upgrade_result file.' to server
2018/11/29 19:52:45 ossec-agent: DEBUG: Received message: '#!-req f3a1c52e com upgrade_result'
2018/11/29 19:52:45 ossec-agent: DEBUG: req_push(): Sending ack (f3a1c52e).
2018/11/29 19:52:45 ossec-agent: DEBUG: req_receiver(): sending '#!-req f3a1c52e ok 0
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CAOABaY8L_S3_7N-t0SonYEZK6QgD0_emoWu6LJqSwsnqZTiBDg%40mail.gmail.com.
# Retransmission timeout seconds [0..60] remoted.request_rto_sec=1 # Retransmission timeout milliseconds [0..999] remoted.request_rto_msec=0 # Max. number of sending attempts [1..16] remoted.max_attempts=4
remoted.max_attempts=16
# Retransmission timeout seconds [0..60] remoted.request_rto_sec=0 # Retransmission timeout milliseconds [0..999] remoted.request_rto_msec=500
# /var/ossec/bin/agent_upgrade -d -a 298 -c 128
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CAOABaY-_ewTxcY%2BYWO74PZTZJ_Gq5%3D2dcz3_qe-hautoJNhobw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CAOABaY9S-FK0q5NE0fLfNf2K0Hw%3DtWQ9bGrQ3F-eZkgdeW_oow%40mail.gmail.com.