You are here

Max chracters limit for Host Variables is one off

3 posts / 0 new
Last post
Roman Szabados
opsview.com_4's picture
Max chracters limit for Host Variables is one off

Hi,

I have ancoutered a bug, which prevents me from saving changes to a Host if a variable with more than 63 characters is added. The limit should be 64, as is the mysql table definition and i had no problem assigning the 64 chars variable to the host directly via mysql cli.

Variable with exact 64 characters:

Save attempt:

The actual webservice call is ansered by a HTTP 400, Bad Request.

 

Duncan Ferguson
dferguson's picture
Thanks for the bug report - I

Thanks for the bug report - I will take up with Engineering

  Duncs

Duncan Ferguson
dferguson's picture
Engineering have provided a

Engineering have provided a patch you can apply on your system to allow for the full 64 chars.

Apply the patch available on the below URL and restart opsview-web - this patch will be removed on an upgrade, but should be included in the future (it will not be in the 5.4.0 version, which is being released today).

    https://s3-eu-west-1.amazonaws.com/opsview-patches/host-attributes-64.patch

  Duncs