[ZBX-4803] Error in External Check Upgrade in 2.0rc2 Script for more than 1 parameter Created: 2012 Mar 26  Updated: 2017 May 30  Resolved: 2012 Jun 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.0rc2
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Patrick Hooper Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: comma, externalchecks, upgrade
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

debian 6.03, kernel 2.6.32 mysql 5.x



 Description   

During an upgrade from 1.8.2 to 2.0rc2 there was an error in the upgrade scripts for conversion of the external scripts checks.

I have checks that have more than 1 parameter for the external check.

The upgrade only deals with 0 or 1 parameter.

Example.

upgrade changed the check to

sdidu-nxgen-read-config.php["

{HOST.CONN}",1 "fset txmax"]

should be

sdidu-nxgen-read-config.php["{HOST.CONN}

",1 ,"fset txmax"]



 Comments   
Comment by Alexander Vladishev [ 2012 Apr 02 ]

It should be fixed manually. Such action it is almost impossible to make by a SQL script.

Comment by Oleksii Zagorskyi [ 2012 Apr 02 ]

Probably a note can be added to the page http://www.zabbix.com/documentation/2.0/manual/installation/upgrade_notes
that recommended to manually review all external checks if they have more than one parameter in the key.

Comment by Martins Valkovskis [ 2012 Apr 03 ]

A note on this added here:

http://www.zabbix.com/documentation/2.0/manual/installation/upgrade_notes?&#item_changes

Generated at Fri Mar 29 12:42:20 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.