Searching problem

Hi all,

I want to call up a list of the mac dresses of all hosts that have "zrh" in
their hostname.
I am however not very successful.

"host zrh" gives me all the "hostname" facts for hosts where this fact
contains "zrh".

" host ~ zrh" gives me an empty list. However this is strange, as according
to the manual "~" is the default for string fields, so both should be the
same.

"host zrh and fact_shortname = macaddress" also gives me an empty list.

What should I do?

Krist

My guess would be to search from the facts page like this:

host ~ zrh and fact ~ macaddress

ยทยทยท On Thursday, March 5, 2015 at 12:26:08 PM UTC-5, Krist van Besien wrote: > > Hi all, > > I want to call up a list of the mac dresses of all hosts that have "zrh" > in their hostname. > I am however not very successful. > > > "host zrh" gives me all the "hostname" facts for hosts where this fact > contains "zrh". > > " host ~ zrh" gives me an empty list. However this is strange, as > according to the manual "~" is the default for string fields, so both > should be the same. > > "host zrh and fact_shortname = macaddress" also gives me an empty list. > > What should I do? > > Krist > > > >