Automatically export host information?
-
I’m wondering if there is a way for me to have FOG automatically add assets to my asset manager when I add them to FOG? I use Snipe-IT, which is pretty nice as an asset manager, but I have spent enough time copy-pasting info from FOG into Snipe-IT that I want to not be spending time on it any more. Can anybody think of a way to do this?
-
@xenorites Research if Snpie-IT has an API of some kind. If it does, then it should be pretty easy to do. Provide documentation if you find it.
-
-
Here is the relevant documentation I have found for Snipe-IT’s API. I have literally no idea what I am doing with this, so I figure no time like the present to learn!
What would be the recommended method of doing this? I figure I’ll just write a Python script and run it as a cron job. Is this currently my best reference for the FOG API?
Alternatively, is there a smarter way to do this?
-
@xenorites That is indeed the best reference for the fog api. I would recommend, however, use the api sparingly as 1.6 will need new documentation. (This is because we’re moving to datatables, so most of the api is switched around to allow easier integration with datatables.)