Network map scan to label with *just* hostname, not FQDN?

I like the Dude scanning resolving IP addresses for me. However, is there a way to just have the host name displayed on the map and not the Fully Qualified Domain Name (FQDN)? It makes for a pretty cluttered map, and is tedious to go in and manually remove the domain name for each discovered device.

I looked and looked and never found a good way to have it contain only the host portion. I decided to add every device manually. Input the FQDN then change it to just the host after it is installed… Guess your stuck for now manually modifying every host.

Why don’t you posted the question on the forum?
It’s not to complex to make it show what you wish. 7 minutes for solution :slight_smile:
google.png
The code for device label should be

[Device.Name]
[if(string_find(device_property("Name"),".") < 1000
,string_substring(device_property("Name"),0,string_find(device_property("Name"),".") )
,device_property("Name"))]
[device_performance()][Device.ServicesDown]

Well it was over a year ago and I wanted to get other stuff working. I thought about it last night and was thinking something like you did could be done. :slight_smile: You always have great solutions, thanks again gsandul.

Whoa…I would have never come up with that. I’ll plug that it and give it a go. Thanks for your post!