You are not logged in.
i have to clone a lot of computer, i wanna create a script who :
make a connection to ocs database
take the ip address
take the computer name
in function of the computer mac address
to simplify this task ( cloning )
do you have any idea ?
sorry for my poor english ...
You can take a look at Developer FAQ to view database shema. Table HARWARE stire host name, and table NETWORKS store IP and MAC addresses.
You can use SOAP web service to query database using HTTP protocol.
IRC Channel #ocsinventory-ng on FreeNode