Actions
Feature #1168
closedAbility to search for Facts (and Param) without providing a value
Description
Currently it is not possible to search like so:
hostgroup = X and fact_name = kernelversion
You have to provide a value for kernelversion.
This makes it much harder to get all hosts which have this fact in this hostgroup.
I can search for fact.name=kernelversion on the facts page, but then I lose the ability to filter by hostgroup or parameters.
Updated by Tim Speetjens over 13 years ago
One could search for the existence of a fact in the hosts page (with other conditions combined) like so:
hostgroup = X and fact.kernelversion != doesnotexist
Searching that a fact does not exist isn't possible like this though, and I think it would be rather difficult to implement.
Updated by Ohad Levy over 11 years ago
- Is duplicate of Feature #1611: Search for hosts without certain facts added
Updated by Ohad Levy over 11 years ago
- Description updated (diff)
- Status changed from Duplicate to Need more information
Updated by Ewoud Kohl van Wijngaarden about 11 years ago
- Status changed from Need more information to Resolved
This should be marked as resolved since you can search for:
hostgroup = X and facts.kernelversion ~ *
If this is insufficient, please re-open.
Actions