- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Serial Number via API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Serial Number via API
Hi Mates,
we're searching trough the GAIA API Reference and cannot find the option to get the device serial number information.
Can someone point us into the right direction?
Cheers,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is a mac address of mgmt interface, at least for Quantum appliances, so parsing "show-physical-interface" should do the trick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thx for the quick answer 🙂
Short info why we need it: company starts with full asset management so we need a key identifier for each device. Usually thats the serial number. Now initially we want to feed that asset management via API with all relevant data.
I found in the product list via product center that there is a Serial Number and the KEY you mentioned.
Also via "cpstat os" the appliance serial number shows up.
If serial number does not show up via API we will use the output from the product center.
So we're quite safe for Quantum and Quantum Spark 🙂 .
Any idea what we should use for our CloudGuard-"Appliances" - they do not have the mgmt Interface or Appliance serial number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, got it. For regular Gaia, you can use the "run-script" API command with "cpstat os".
For Spark appliances, there is a "show diag" command that should be executed from clish, which also shows the serial number. Not sure about API capabilities of Embedded Gaia thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For Cloud i would use the CK from UC...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had TAC opened last year for this and they could not find the answer either. Its easy via clish, but does not appear there was a way to get it through API.
Andy
