Closed Stoatwblr closed 5 years ago
Hi @Stoatwblr
I though you should create a PR on fusioninventory-agent to submit this script to /contrib
folder as you emulate an agent dumping an XML you can than load in GLPI using fusioninventory-injector
I wasn't sure if it should be an agent or a fi4g issue. Can you transfer it to the agent side?
Hi @Stoatwblr
you should create a PR against fusioninventory-agent, probably putting your script in /contrib/netdisco
and putting some explanation in CONTRIB.md
.
That would be better if you do the job on your own.
I'll have to learn how to drive github. This should be fun.
PR opened.
This is a POC but I'm using it on my site to feed GLPI.
This is run as user netdisco. The syntax is "netdisco_2_glpi.sh (switchname)" - it dumps the xml to stdout and you can redirect as you wish. (I drop into /tmp/fusionexports/swutchname.xml)