I'm new to the NetApp stuff. Currently I'm trying to figure out how to get Autosupport files completely automated.
We've got a NOSQL Database with historical data from customers. I want to expand the data with the weekly ASUP Data.
However it seems NetApp has no REST-Api to get any of that information. I know there is the Zedi Explorer, but we can not access every NetApp
which lead me to ASUP files.
Now I want to create some automation withing our NodeJS enviroment:
Get the ASUP '*.xml'
Parse the data into json for the database
Generate some data with the ASUPs and historical data
I need the information as XML or better as JSON (I can parse XML to json no problem). I do not want to parse Text-files or CSVs which could lead to errors very easily. That said I am a little dissapointed that NetApp can't provide solid XMLs in the autosupport files, some are in XML and some not - why is that?
I could also use the download option on weekly autosupport files which will download a '*.tgz'. I have no clue where to find that link and how the authentication will then work.
Is there any possible way to access the autosupport files over a GET-Method?
I think you have another option. Install OnCommand Unified Manager (Known as OCUM) and try to work with it. This is a NetApp official tool to collect data from fillers.
Then you can make queries on OCUM database which is a MySQL, so it's quite simple.
One more thing you could do it, if you don't have access to fillers directly because someone else is the administrator, is to ask him (her) to create a role with capabilities you need. Those are the APIs you call. Let's say for example: if you like to work with CIFS shares. You just need a capability api-cifs-shares-*.
Thanks for the tip, I cannot use OCUM. Since I would need to have some kind of VPN to every customer with a netapp. I will monitore every netapp which is sending ASUP from our customers. That's why im stucked with that idea. Otherwise I would use the SDK which again needs a direct connection.