Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Interactive Automation – Fetch MAC address from Client

Solved1.37K views19th October 2023automation scripts
4
Stacey Van Colen [SLC] [DevOps Advocate]2.54K 18th October 2023 2 Comments

Hi Dojo,

Does anyone know if it’s possible to fetch the MAC Address, from the PC which is connecting to Cube, inside of an automation script?

We would like to be able to showcase specific information depending on the PC which is used to trigger an Automation Script. To show devices close to them.

Kind regards,

Stacey Van Colen [SLC] [DevOps Advocate] Posted new comment 19th October 2023
Ive Herreman [SLC] [DevOps Enabler] commented 19th October 2023

Hi Stacey,

As far as I know, it’s not possible to get the client’s MAC address in an automation script (unless it’s triggered from a visual overview).

However, you can extract the client hostname. Would that help for what you try to achieve?

Stacey Van Colen [SLC] [DevOps Advocate] commented 19th October 2023

Hi Ive,

Many thanks for your comment. I can rework my design to get it triggered from a Visual, and then use the [fistMAC] or [thisMAC] placehoder.

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Matthias Declerck [SLC] [DevOps Advocate]2.75K Posted 19th October 2023 0 Comments

Hi Stacey,

It is possible to do so. Only condition is that the script is launched in context of Visual Overview.

Reproduction steps:

1. Create a Visual Overview with 2 card/page variables.
These are filled in with creates placeholders “ThisMac” and “FirstMac”
Sources:
– Configuring the shape data field
– Placeholders for variables in shape data values

2. Adjust your automation script so it takes the session variables as input arguments from Visual Overview.
Example: “Script:MyScript||MyValue=[var:MyVar]|||NoConfirmation”

3. ?????

4. Profit

I do hope this will work and helps you further.
with Kind regards,

Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 19th October 2023
5
João Severino [SLC] [DevOps Catalyst]13.02K Posted 18th October 2023 0 Comments

Hi Stacey,

As Laurens mentioned, I do not believe it is possible to do it directly from within the script but if the script is launched from a Visio, I think it should be possible to use the [firstmac] option.

This value would then be passed into the script via an input parameter.

João Severino [SLC] [DevOps Catalyst] Answered question 18th October 2023
0
Laurens Moutton [SLC] [DevOps Enabler]8.78K Posted 18th October 2023 0 Comments

Hi,

I don’t think that this is possible.
An automation script is running on server side, while cube is on client side.
For the MAC address to be known, Cube would need access to the network card (which one when there are multiple?) and read that info out to then pass it when launching the automation script, which is not possible at this moment as far as I know.

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Answered question 18th October 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs