Import_Export a Large Number of Servers Using Json

Home Support Managing Services Import_Export a Large Number of Servers Using Json

If you would like to import a large number of Servers into ITmanager.net instead of manually adding them in one at a time. Here are the instructions:

Note: Only available in the ITmanger.net web client,  under Add Services and Add Monitors you can Import/Export (options are at the bottom of the drop-downs):

 

Import_Export.png

 

1) Export – If you are inside a folder, export will only show things from inside that folder…you then can pick what from inside the folder to export. Additionally, when exporting, you have the option of maintaining a sub-folder structure, or flattening the exported list.

 

2) Import – if you are inside a folder, you are importing into that folder. After selecting a file (that you generated by doing an export), you can still pick what from that file to import

 

The feature Import/Export JSON in plain text, so if you are careful, you could write your own files to import.

Here is an example of how to import servers using json:

[
    {
        “type”: “windows”,
        “hostname”: “dc2”,
        “shared”: true,
        “Agent”: “DC2”,
        “useGateway”: false
    },
    {
        “type”: “vnc”,
        “name”: “itmanager-dc”,
        “hostname”: “54.210.22.150”,
        “port”: 5900,
        “shared”: true
    },
    {
        “type”: “vmware”,
        “hostname”: “proliant”,
        “Agent”: “itmanagernet-icby-box”,
        “shared”: true
    },
    {
        “type”: “SSH”,
        “termWidth”: 0,
        “termHeight”: 0,
        “hostname”: “ssh.itman.mobi“,
        “port”: 22,
        “termType”: “xterm”,
        “name”: “ssh.itman.mobi (test)”,
        “shared”: true
    }
]