Greetings...I am new here. I am not new to JunOS, but it has been a few years since I did much more than write firewall rules for the SRX series.
I've been tasked with a project where they want to be able to use the actual Juniper device (firewall, switch, router...whatever) as the "source of truth" with information on the device, that can be polled somehow (api, script, I dunno...) and this information be stored in a centralized database. As it stands, they have multiple databases, and several Excel spreadsheets, all of which get maintained at varying levels.
Some stuff, I'm pretty sure will be easy to get. Like the device name, management IP, model number, JunOS version number, etc. All that is already stored on the device.
However, they are also wanting to store things like the relay rack #, building, floor, etc. I see there is something like that here:
# set system location ?
Possible completions:
altitude Feet above (or below) sea level
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
building Building name
country-code Two-letter country code
floor Floor of the building
hcoord Bellcore horizontal coordinate
lata Local access transport area
latitude Latitude in degree format
longitude Longitude in degree format
npa-nxx First six digits of phone number (area code plus exchange)
postal-code Zip code or postal code
rack Rack number
vcoord Bellcore vertical coordinate
...but they also want to store more information, like site contact, address, what applications are using this particular device and contact info for that group, etc.
All I have found so far is maybe using an "annotate chassis XXX" which can pretty much have anything in it. Would there be a better place to store that information?
Also, what would you suggest as the way to pull that info from the device to be stored into a centralized database (this is the part I have zero experience with).
Finally, this isn't my choice of how to go about doing this....I've just been tasked with trying to figure out HOW to do it. Thanks ahead of time!
------------------------------
ANDREW PARRIS
------------------------------