Old 02-04-2011, 03:44 PM   #1 (permalink)
Untangle Ninja
 
juank's Avatar
 
Join Date: Aug 2007
Location: Athens
URLs submitted: 46
Posts: 1,474
juank is on a distinguished road
Question Name_map for reports

Is there any way to manually import the name map?

My untangle is NOT doing the DHCP. DHCP is done at another device, but i can write the file in any format if needed.

The reports have the IMPORT button, but even creting a new NAme_map.json doesn't work for me...

Any ideas?

Thanks
__________________
--------------------------------
Juan Machado
--------------------------------
juank is offline  
Old 02-04-2011, 03:47 PM   #2 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

I was working on a "from windows dhcp export to untangle name map import"
Don't remember why i stopt working on it.
have to recheck my work :P
WebFooL is offline  
Old 02-05-2011, 03:59 PM   #3 (permalink)
Untangle Ninja
 
juank's Avatar
 
Join Date: Aug 2007
Location: Athens
URLs submitted: 46
Posts: 1,474
juank is on a distinguished road
Default

So there is no format on that file to import ?
__________________
--------------------------------
Juan Machado
--------------------------------
juank is offline  
Old 02-05-2011, 05:29 PM   #4 (permalink)
Untangle Junkie
 
dmorris's Avatar
 
Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,613
dmorris is on a distinguished road
Default

its JSON.

Just export one and follow the pattern.
Its pretty simple.
__________________
Attention: Support and help on the Untangle Forums is provided by
volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
dmorris is online now  
Old 02-07-2011, 09:30 AM   #5 (permalink)
Untangle Ninja
 
juank's Avatar
 
Join Date: Aug 2007
Location: Athens
URLs submitted: 46
Posts: 1,474
juank is on a distinguished road
Default

Thanks. It was actually really easy...

Create a CSV file with your DNS records in the following format:

Quote:
description,name,javaClass,ipMaddr
test1,name-test1,com.untangle.uvm.node.IPMaddrRule,1.2.3.4
test2,name-test2,com.untangle.uvm.node.IPMaddrRule,1.2.3.5
Make sure you keep the header...

Then you can write your own file in JSON to import in Untangle or go to this site

http://www.cparker15.com/utilities/csv-to-json/

and run the conversion ...

Save the file in .json format and IMPORT it from the Reports Module...

Easy... and nice !
__________________
--------------------------------
Juan Machado
--------------------------------
juank is offline  
Closed Thread

Tags
name map json

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:39 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2