Closed jbostoen closed 2 years ago
Rewrote script, it's not in the repository yet because I need to test it properly. Also considering a few more improvements.
Learned the hard way that you shouldn't use " INSERT IGNORE ... " or " INSERT ... ON DUPLICATE KEY UPDATE ... " statements.
For the new version, I was in doubt whether to use the iTop REST API or manipulate the database directly. The last option seemed more useful.
Todo: rewrite this and implement natively, similar to jb-crab
Since SpiceWorks has not received any proper updates and I personally don't use this integration anymore with iTop, I'm closing this.
I wrote a script to import data from SpiceWorks API (not very well known and not that great) into iTop.
Basically the current version fetches data from SpiceWorks for all PCs and virtual machines in production. It writes all data from SpiceWorks about the workstations (hardware, selection of software - since SpiceWorks includes way too much information for my taste etc.). You could also retrieve details about your switches (which devices are connected on which port), but those are things I'd like to verify myself.
It's a very basic script right now, which I might share if I remove the sensitive details; and you'd need to adjust it a lot.
I might rewrite it at some point if I figure out how I make it user friendly enough to set up a few things and leave enough options.