I am looking for a creative solution to help automate a unique usecase within the company I work for.
Be warned I am a Junior Network Analyst, only passing my JNICA 2 months ago.
I have no experience with APIs.
I have a report being generated on a schedule. The report compares a configuration template against a device.
Unfortunately with this type of job there is no way to automatically export the results, which is what i'd like to do.
This is so that it can be consumed by a Dashboard BI tool so we can quickly gauge what devices are in/out of compliance with certain patches/rollouts.
From job management i can easily do the following:
- Right Click completed job
- View Job Details
And this gives me an XML of the report, altough i would prefer to get a CSV, this isn't a deal breaker, we can always convert it.
I was advised by one of our reps that via RestAPI we can do pretty much anything the GUI can do, automagically.
I'd like to do the above and then save it to a specific directory, preferrably as a csv file.
How can I go about starting this and building it. Any tips and assistance is appreciated.
(apologies i see this is in the SRX Services Gateway discussion, not sure how to relocate)
© 1999 - 2019 Juniper Networks, Inc.
All rights reserved