Project

General

Profile

Actions

Feature #9137

closed

Monitor > Facts searching does not work with discovered hosts

Added by Lukas Zapletal about 9 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

By Stefan Lasiewski:

I also discovered that I can go to "Monitor > Facts" and search for `name =
memorysize`. My unprovisioned hosts show up there with a "Host" of "N/A".
Anyone know how to search specifically for hosts without a name? I have
tried a few things, like `host = ""` and `host !~ %.example.gov` ("Show me
hosts which don't match a pattern like 'foo.example.gov").

I was hoping to locate hosts which had a particular amount
of RAM, disks and model number. But as you pointed out, now that
information is available in the updated Discovery 2.0 plugin.

Now, I just think it would be handy to sort through all of my hosts,
provisioned and unprovisioned, for various facts. I'd like to see all MAC
addresses or servers with more then 4 cores (`facts.processorcount >= 4`)
for example. However, the most of my use case was resolved with the new
Discovery 2.0.

Actions #1

Updated by Lukas Zapletal about 8 years ago

  • Status changed from New to Rejected

This works fine, memory is a float and cannot be compared like that.

Actions

Also available in: Atom PDF