Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "host_custom_variables" : null #1363

Open
lgmu opened this issue May 14, 2024 · 0 comments
Open

Bug: "host_custom_variables" : null #1363

lgmu opened this issue May 14, 2024 · 0 comments

Comments

@lgmu
Copy link
Collaborator

lgmu commented May 14, 2024

Thruk Version
v3.15.20240513 (659d103)

thruk r '/services?host_name=HOST&columns=host_name,host_state,host_custom_variables,description,state,plugin_output'

This returns:
{ "description" : "SERVICE", "host_custom_variables" : null, "host_name" : "HOST", "host_state" : 0, "plugin_output" : "OK", "state" : 0 },...

But the host does have custom variables and strangely when also querying "host_custom_variable_names" and "host_custom_variable_values" it works:
{ "description" : "SERVICE", "host_custom_variable_names" : [ "ABC" ], "host_custom_variable_values" : [ "123" ], "host_custom_variables" : { "ABC" : "123" }, "host_name" : "HOST", "host_state" : 0, "plugin_output" : "OK", "state" : 0 }

@lgmu lgmu changed the title Bug: Bug: "host_custom_variables" : null May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant