Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
D_W
Advisor

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

0 Kudos
5 Replies
_Val_
Admin
Admin

It is a mac address of mgmt interface, at least for Quantum appliances, so parsing "show-physical-interface" should do the trick

0 Kudos
D_W
Advisor

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.


image.pngimage.png

0 Kudos
_Val_
Admin
Admin

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.

G_W_Albrecht
Legend Legend
Legend

For Cloud i would use the CK from UC...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
the_rock
Legend
Legend

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

(1)

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events